summaryrefslogtreecommitdiff
path: root/Compiler/gen/CGrammarLexer.tokens
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-09 09:45:22 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-09 09:45:22 +1000
commit7f334796e8d0619dc744b1345a7b7b73a27220f9 (patch)
tree709c9a7df920d8eb1e779df4f878a25596303f17 /Compiler/gen/CGrammarLexer.tokens
parentd36d51429d604f0ab3b2076c4c05e28ebf9b52c5 (diff)
added method calling and for loops
Diffstat (limited to 'Compiler/gen/CGrammarLexer.tokens')
-rw-r--r--Compiler/gen/CGrammarLexer.tokens104
1 files changed, 57 insertions, 47 deletions
diff --git a/Compiler/gen/CGrammarLexer.tokens b/Compiler/gen/CGrammarLexer.tokens
index 7556128..0da6b57 100644
--- a/Compiler/gen/CGrammarLexer.tokens
+++ b/Compiler/gen/CGrammarLexer.tokens
@@ -43,52 +43,62 @@ T__41=42
T__42=43
T__43=44
T__44=45
-ID=46
-INT=47
-WS=48
-COMMENT=49
+T__45=46
+T__46=47
+T__47=48
+T__48=49
+T__49=50
+ID=51
+INT=52
+WS=53
+COMMENT=54
'int'=1
'('=2
-')'=3
-'{'=4
-'}'=5
-'return'=6
-';'=7
-'if'=8
-'else'=9
-'='=10
-'!'=11
-'~'=12
-'++'=13
-'--'=14
-'*'=15
-'/'=16
-'%'=17
-'+'=18
-'-'=19
-'<'=20
-'>'=21
-'<='=22
-'>='=23
-'=='=24
-'!='=25
-'&'=26
-'|'=27
-'^'=28
-'<<'=29
-'>>'=30
-'&&'=31
-'||'=32
-'*='=33
-'/='=34
-'%='=35
-'+='=36
-'-='=37
-'&='=38
-'|='=39
-'^='=40
-'<<='=41
-'>>='=42
-','=43
-'?'=44
-':'=45
+','=3
+')'=4
+';'=5
+'{'=6
+'}'=7
+'return'=8
+'if'=9
+'else'=10
+'for'=11
+'while'=12
+'do'=13
+'break'=14
+'continue'=15
+'='=16
+'!'=17
+'~'=18
+'++'=19
+'--'=20
+'*'=21
+'/'=22
+'%'=23
+'+'=24
+'-'=25
+'<'=26
+'>'=27
+'<='=28
+'>='=29
+'=='=30
+'!='=31
+'&'=32
+'|'=33
+'^'=34
+'<<'=35
+'>>'=36
+'&&'=37
+'||'=38
+'*='=39
+'/='=40
+'%='=41
+'+='=42
+'-='=43
+'&='=44
+'|='=45
+'^='=46
+'<<='=47
+'>>='=48
+'?'=49
+':'=50