extended yyerror function to destinguish between being called from bison and being called from flex
Refactoring: removed unnecessary 'enum' keywords