diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-08 12:58:37 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-08 12:58:37 +0200 |
commit | c69fd987a184fc8bf27abfce30f5aace409616d2 (patch) | |
tree | f57d719a05eb6a588524ae31315c3cf223160637 | |
parent | baea074f524676a889043779c80fb17cdd38f30d (diff) |
Sort lexeme kinds
-rw-r--r-- | src/lexer.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lexer.h b/src/lexer.h index 37b6af6..efd03df 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -7,20 +7,19 @@ enum { LEXIDENT, - LEXCOLON = ':', - LEXLBRACE = '{', - LEXLPAR = '(', - LEXRBRACE = '}', - LEXRPAR = ')', - LEXSEMI = ';', - LEXAMP = '&', + LEXCOLON = ':', LEXEQ = '=', LEXLANGL = '<', + LEXLBRACE = '{', + LEXLPAR = '(', LEXMINUS = '-', LEXPIPE = '|', LEXPLUS = '+', LEXRANGL = '>', + LEXRBRACE = '}', + LEXRPAR = ')', + LEXSEMI = ';', LEXSLASH = '/', LEXSTAR = '*', LEXTILDE = '~', |