5.3.1 Better Error Handling
It is possible to detect the error earlier than when it is pushed onto the
stack. Error recovery algorithms can be more clever than those which
replace symbols on the stack or in the input.
The literature describes many syntactic error handling algorithms. See the
Related Reading section at the end of this chapter, especially Fischer and
LeBlanc (1988) and Hammond and Rayward-Smith(1984).