fixed bug in parser algorithm. need to resolve id list ambiguities.