summaryrefslogtreecommitdiff
path: root/Compiler/gen/CGrammarLexer.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-09 12:51:08 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-09 12:51:08 +1000
commit78d73c6e3a6e96b750bc4100f754484890ea650b (patch)
tree5c6f8b891513534f4fe722202fcbd3f075536c6e /Compiler/gen/CGrammarLexer.cs
parent7f334796e8d0619dc744b1345a7b7b73a27220f9 (diff)
added lazy function definition
Diffstat (limited to 'Compiler/gen/CGrammarLexer.cs')
-rw-r--r--Compiler/gen/CGrammarLexer.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/Compiler/gen/CGrammarLexer.cs b/Compiler/gen/CGrammarLexer.cs
index 81b8945..01194e2 100644
--- a/Compiler/gen/CGrammarLexer.cs
+++ b/Compiler/gen/CGrammarLexer.cs
@@ -71,9 +71,9 @@ public partial class CGrammarLexer : Lexer {
private static readonly string[] _LiteralNames = {
null, "'int'", "'('", "','", "')'", "';'", "'{'", "'}'", "'return'", "'if'",
- "'else'", "'for'", "'while'", "'do'", "'break'", "'continue'", "'='",
- "'!'", "'~'", "'++'", "'--'", "'*'", "'/'", "'%'", "'+'", "'-'", "'<'",
- "'>'", "'<='", "'>='", "'=='", "'!='", "'&'", "'|'", "'^'", "'<<'", "'>>'",
+ "'else'", "'for'", "'while'", "'do'", "'break'", "'continue'", "'*'",
+ "'='", "'&'", "'!'", "'~'", "'++'", "'--'", "'/'", "'%'", "'+'", "'-'",
+ "'<'", "'>'", "'<='", "'>='", "'=='", "'!='", "'|'", "'^'", "'<<'", "'>>'",
"'&&'", "'||'", "'*='", "'/='", "'%='", "'+='", "'-='", "'&='", "'|='",
"'^='", "'<<='", "'>>='", "'?'", "':'"
};
@@ -124,9 +124,9 @@ public partial class CGrammarLexer : Lexer {
1,8,1,8,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,
11,1,11,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,
14,1,14,1,14,1,14,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,
- 18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,
- 25,1,25,1,26,1,26,1,27,1,27,1,27,1,28,1,28,1,28,1,29,1,29,1,29,1,30,1,
- 30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,35,1,35,1,35,1,
+ 19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,
+ 25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,28,1,29,1,29,1,29,1,30,1,30,1,
+ 30,1,31,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,35,1,35,1,35,1,
36,1,36,1,36,1,37,1,37,1,37,1,38,1,38,1,38,1,39,1,39,1,39,1,40,1,40,1,
40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,44,1,44,1,44,1,45,1,
45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,48,1,48,1,49,1,49,1,
@@ -152,10 +152,10 @@ public partial class CGrammarLexer : Lexer {
1,0,0,0,5,115,1,0,0,0,7,117,1,0,0,0,9,119,1,0,0,0,11,121,1,0,0,0,13,123,
1,0,0,0,15,125,1,0,0,0,17,132,1,0,0,0,19,135,1,0,0,0,21,140,1,0,0,0,23,
144,1,0,0,0,25,150,1,0,0,0,27,153,1,0,0,0,29,159,1,0,0,0,31,168,1,0,0,
- 0,33,170,1,0,0,0,35,172,1,0,0,0,37,174,1,0,0,0,39,177,1,0,0,0,41,180,1,
- 0,0,0,43,182,1,0,0,0,45,184,1,0,0,0,47,186,1,0,0,0,49,188,1,0,0,0,51,190,
- 1,0,0,0,53,192,1,0,0,0,55,194,1,0,0,0,57,197,1,0,0,0,59,200,1,0,0,0,61,
- 203,1,0,0,0,63,206,1,0,0,0,65,208,1,0,0,0,67,210,1,0,0,0,69,212,1,0,0,
+ 0,33,170,1,0,0,0,35,172,1,0,0,0,37,174,1,0,0,0,39,176,1,0,0,0,41,178,1,
+ 0,0,0,43,181,1,0,0,0,45,184,1,0,0,0,47,186,1,0,0,0,49,188,1,0,0,0,51,190,
+ 1,0,0,0,53,192,1,0,0,0,55,194,1,0,0,0,57,196,1,0,0,0,59,199,1,0,0,0,61,
+ 202,1,0,0,0,63,205,1,0,0,0,65,208,1,0,0,0,67,210,1,0,0,0,69,212,1,0,0,
0,71,215,1,0,0,0,73,218,1,0,0,0,75,221,1,0,0,0,77,224,1,0,0,0,79,227,1,
0,0,0,81,230,1,0,0,0,83,233,1,0,0,0,85,236,1,0,0,0,87,239,1,0,0,0,89,242,
1,0,0,0,91,245,1,0,0,0,93,248,1,0,0,0,95,252,1,0,0,0,97,256,1,0,0,0,99,
@@ -174,16 +174,16 @@ public partial class CGrammarLexer : Lexer {
0,155,156,5,101,0,0,156,157,5,97,0,0,157,158,5,107,0,0,158,28,1,0,0,0,
159,160,5,99,0,0,160,161,5,111,0,0,161,162,5,110,0,0,162,163,5,116,0,0,
163,164,5,105,0,0,164,165,5,110,0,0,165,166,5,117,0,0,166,167,5,101,0,
- 0,167,30,1,0,0,0,168,169,5,61,0,0,169,32,1,0,0,0,170,171,5,33,0,0,171,
- 34,1,0,0,0,172,173,5,126,0,0,173,36,1,0,0,0,174,175,5,43,0,0,175,176,5,
- 43,0,0,176,38,1,0,0,0,177,178,5,45,0,0,178,179,5,45,0,0,179,40,1,0,0,0,
- 180,181,5,42,0,0,181,42,1,0,0,0,182,183,5,47,0,0,183,44,1,0,0,0,184,185,
- 5,37,0,0,185,46,1,0,0,0,186,187,5,43,0,0,187,48,1,0,0,0,188,189,5,45,0,
- 0,189,50,1,0,0,0,190,191,5,60,0,0,191,52,1,0,0,0,192,193,5,62,0,0,193,
- 54,1,0,0,0,194,195,5,60,0,0,195,196,5,61,0,0,196,56,1,0,0,0,197,198,5,
- 62,0,0,198,199,5,61,0,0,199,58,1,0,0,0,200,201,5,61,0,0,201,202,5,61,0,
- 0,202,60,1,0,0,0,203,204,5,33,0,0,204,205,5,61,0,0,205,62,1,0,0,0,206,
- 207,5,38,0,0,207,64,1,0,0,0,208,209,5,124,0,0,209,66,1,0,0,0,210,211,5,
+ 0,167,30,1,0,0,0,168,169,5,42,0,0,169,32,1,0,0,0,170,171,5,61,0,0,171,
+ 34,1,0,0,0,172,173,5,38,0,0,173,36,1,0,0,0,174,175,5,33,0,0,175,38,1,0,
+ 0,0,176,177,5,126,0,0,177,40,1,0,0,0,178,179,5,43,0,0,179,180,5,43,0,0,
+ 180,42,1,0,0,0,181,182,5,45,0,0,182,183,5,45,0,0,183,44,1,0,0,0,184,185,
+ 5,47,0,0,185,46,1,0,0,0,186,187,5,37,0,0,187,48,1,0,0,0,188,189,5,43,0,
+ 0,189,50,1,0,0,0,190,191,5,45,0,0,191,52,1,0,0,0,192,193,5,60,0,0,193,
+ 54,1,0,0,0,194,195,5,62,0,0,195,56,1,0,0,0,196,197,5,60,0,0,197,198,5,
+ 61,0,0,198,58,1,0,0,0,199,200,5,62,0,0,200,201,5,61,0,0,201,60,1,0,0,0,
+ 202,203,5,61,0,0,203,204,5,61,0,0,204,62,1,0,0,0,205,206,5,33,0,0,206,
+ 207,5,61,0,0,207,64,1,0,0,0,208,209,5,124,0,0,209,66,1,0,0,0,210,211,5,
94,0,0,211,68,1,0,0,0,212,213,5,60,0,0,213,214,5,60,0,0,214,70,1,0,0,0,
215,216,5,62,0,0,216,217,5,62,0,0,217,72,1,0,0,0,218,219,5,38,0,0,219,
220,5,38,0,0,220,74,1,0,0,0,221,222,5,124,0,0,222,223,5,124,0,0,223,76,