5.2 Types

5.2.1 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.

5.2.2 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.