Add get_column method to lexer

This commit is contained in:
Max Brunsfeld 2017-12-19 17:54:15 -08:00
parent e016561887
commit fcff16cb86
2 changed files with 7 additions and 0 deletions

View file

@ -24,6 +24,7 @@ typedef struct {
typedef struct {
void (*advance)(void *, bool);
void (*mark_end)(void *);
uint32_t (*get_column)(void *);
int32_t lookahead;
TSSymbol result_symbol;
} TSLexer;