diff options
| author | hachem <im@hachem.wtf> | 2026-09-19 11:17:14 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-19 11:17:14 +0200 |
| commit | 768bbdd137f5b205e4282bd79572681aef4514e3 (patch) | |
| tree | c249765cd8607a34443e05709ea54441bf0dfd3e /lexer.h | |
| parent | 08b8cbbccd8c8d7dab75746ee9d134f67455de91 (diff) | |
feat: add bison grammar for emit, decltype and difference
Diffstat (limited to 'lexer.h')
| -rw-r--r-- | lexer.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -3,20 +3,8 @@ #include <stdbool.h> #include <stdio.h> -enum Token -{ - TOK_END = 0, - TOK_COLONCOLON = 256, - TOK_EMIT, - TOK_COMMIT, - TOK_DECLTYPE, - TOK_DIFFERENCE, - TOK_CHAR -}; - extern FILE* yyin; // input extern int yylineno; // current line int yylex(void); // scanner bool lexer_failed(void); -char lexer_character(void); |
