diff options
| author | hachem <im@hachem.wtf> | 2026-08-30 04:11:27 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-30 04:11:27 +0200 |
| commit | affa20ab497911353babc9ed6c580c8a12b2bf15 (patch) | |
| tree | 6d7c8d2164cbf1403819991baf62d8201049b778 /src/lexer/lexer.c | |
| parent | 2e7cab34d22a0174909030942671e95d5a3c769f (diff) | |
add: parse proc declarations
Diffstat (limited to 'src/lexer/lexer.c')
| -rw-r--r-- | src/lexer/lexer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer/lexer.c b/src/lexer/lexer.c index ca51bb8..6018fab 100644 --- a/src/lexer/lexer.c +++ b/src/lexer/lexer.c @@ -22,8 +22,8 @@ static enum TokenType identifier_type(const char* start, size_t length) const char* text; size_t length; enum TokenType type; - } - keywords[] = { + } keywords[] = + { { "const", 5, TOKEN_CONST }, { "data", 4, TOKEN_DATA }, { "proc", 4, TOKEN_PROC }, |
