Next: x1f4_test_expression, Previous: x1f4_size_expression, Up: Expression Evaluator Functions
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:
See Application Defined Types.
If no application types have been defined the parsing context description
eelookup
argument of the x1f4_stat_expression
function is not
used.