Add get_column method to lexer
This commit is contained in:
parent
e016561887
commit
fcff16cb86
2 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue