Next: , Up: Imperative Program Parsing Error Reporting

4.4.1 Recording Imperative Program Parse Errors

The program parser stores parse errors in struct x1f4_c1record_type records.

See struct x1f4_c1record_type.

To enable error recording the bcollect_set.eerecord_data field in the parsing context struct x1f4_c1_type record argument of the program parsing functions must be set. The X1f4_C1_BCOLLECT bit must be set in the flags argument of the expression parsing function to inform the program parser that it is to record parse errors.

See struct x1f4_c1_type.

See Imperative Language Interpreter Generation Flags.