make all error and warning messages have the same format and add
modifications to keep syntax errors from halting syntactic analysis in the compiler. Lots of code is
provided for you to use, so you just need to fold in the code and adapt it to your grammar and token
names. There are several parts to this assignment:
- Modify your program to improve error messages by using yyerror and error count.
- Modify your grammar to use the bison error token and the yyerrok macro
Sample Solution