aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-08 12:58:37 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-08 12:58:37 +0200
commitc69fd987a184fc8bf27abfce30f5aace409616d2 (patch)
treef57d719a05eb6a588524ae31315c3cf223160637 /src
parentbaea074f524676a889043779c80fb17cdd38f30d (diff)
Sort lexeme kinds
Diffstat (limited to 'src')
-rw-r--r--src/lexer.h13
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 = '~',