« Prev 5.1 Constants | Table of Contents | Next » 5.3 Functions |
p_context_t
Propane defines a p_context_t
structure type.
The structure is intended to be used opaquely and stores information related to
the state of the lexer and parser.
Integrating code must define an instance of the p_context_t
structure.
A pointer to this instance is passed to the generated functions.
p_position_t
The p_position_t
structure contains two fields row
and col
.
These fields contain the 0-based row and column describing a parser position.
« Prev 5.1 Constants | Table of Contents | Next » 5.3 Functions |