disabled exit(0) on stray char
added {} in parser.yy after each rule