Next: , Previous: x1f4_size_expression, Up: Expression Evaluator Functions


2.20.3.25 x1f4_stat_expression

extern int x1f4_stat_expression
    (void *data, int (*this) (void *, const char *, unsigned),
     struct x1f4_eerecord_type *eerecord,
     struct x1f4_eelookup_type *eelookup);

The x1f4_stat_expression function details the syntax error that prevented successful expression parsing.

See Error Reporting.

The text describing the encountered error is output via the this method called with the error reporting data context as its first argument and the address and the length of the string for each of the strings making up the error report as its second and third arguments. The data and this arguments are not further interpreted.

The error record eerecord is expected to have been setup by the failed expression parsing function call.

See struct x1f4_eerecord_type.

Extra information required to format the error report is collected from the parsing context description eelookup argument.

See struct x1f4_eelookup_type.

The extra information that may be required for formatting the error report is: