start working on parser

This commit is contained in:
2025-05-30 22:23:46 +01:00
parent ec894d4357
commit d18ff96f8f
8 changed files with 51 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ void lexer(LexerState state) {
Token * token_struct = create_token(
token,
yyget_lineno(scanner),
state.current_column,
state.current_column+1,
yyget_text(scanner)
);
darray_push(state.tokens, token_struct);