Handling Errors
Suppose that the input text has errors. When the lexer reads the input it will not find a regular expression that matches. By default, the lexer will then simply output the text. We can write our JFlex specification so that the lexer is more robust.