From 7f334796e8d0619dc744b1345a7b7b73a27220f9 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Sat, 9 Aug 2025 09:45:22 +1000 Subject: added method calling and for loops --- Compiler/gen/CGrammarLexer.tokens | 104 +++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 47 deletions(-) (limited to 'Compiler/gen/CGrammarLexer.tokens') 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 -- cgit v1.3.1