Next: , Previous: x1f4_lead_expression, Up: Expression Evaluator Functions x1f4_line_expression

extern int x1f4_line_expression
    (void *x1f4_expression, void *context);

The x1f4_line_expression function performs various expression optimizations.

See Optimizing Expressions.

It returns 0 for success, non zero otherwise.

The context evaluation context is passed as the first argument to executed function and operator logic evaluation routines. It is otherwise not interpreted.

If the function fails for whatever reason the expression parsed representation is still valid, hence ignoring the result is safe. Nonetheless, the expression parsed representation may be changed by the x1f4_line_expression execution, even when function fails to complete successfully.

The expresion evaluation stack memory requirements may be changed as a result of expression optimizations, though the new requirements should always be smaller than the former ones.

See Managing Stacks.