Move INVALID_POSITION from header to C source - #27

This commit is contained in:
josh committed 2024-07-21 13:39:34 -04:00
1 parent 092fce61eb
commit c5b8fc28bd
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -566,6 +566,9 @@ size_t <%= @grammar.prefix %>lex(<%= @grammar.prefix %>context_t * context, <%=
* Parser
*************************************************************************/
/** Invalid position value. */
#define INVALID_POSITION (<%= @grammar.prefix %>position_t){0xFFFFFFFFu, 0xFFFFFFFFu}
/** Reduce ID type. */
typedef <%= get_type_for(@parser.reduce_table.size) %> reduce_id_t;