Write a Yacc parser for arithmetic expressions that uses the error recovery mechanism in Example 4.50.
Example
Consider again the expression grammar
Figure 4.53 shows the LR parsing table from Fig. 4.47 for this grammar. modified for error detection and recovery. We have changed each state that calls for a particular reduction on some input symbols by replacing error entries in that slate ,by the reduction. This change has the effect of postponing