Informal Formal GrammarsTopType CheckingHandling Errors in Declarations

Handling Errors in Declarations

  1. In general, you want to avoid generating multiple error messages in response to a single mistake in the program.

  2. It is quite easy for an error in a declaration to produce a flood of error messages.

  3. There are several ways that you can minimize the number of redundant error message you generate.

Computer Science 434
Department of Computer Science
Williams College

Informal Formal GrammarsTopType CheckingHandling Errors in Declarations