Fixing bug in the parser.y