16 Commits

Author SHA1 Message Date
0x4261756D
04f5804dff Fix trailing comma handling in ParseFieldlist
This is pretty ugly since it checks for every token type that could follow to make it a valid field but the previous check was flat out wrong
2024-02-21 16:01:58 +01:00
0x4261756D
43fea86d92 Fix missing increment after parsing dotted funcname 2024-02-21 15:11:45 +01:00
0x4261756D
2b75b7d79f Add missing increment if parlist starts with varargs 2024-02-21 15:11:17 +01:00
0x4261756D
ae4a3e9993 Fix suffixexp.argsfirstarg expecting ')' instead of name after ':' 2024-02-21 15:10:37 +01:00
0x4261756D
3a6e024c9b Correctly remove last suffix when turning exp into {member, indexed} var 2024-02-21 15:09:55 +01:00
0x4261756D
c7ac2cf091 Fix labels expecting a name instead of '::' to close 2024-02-21 15:08:50 +01:00
0x4261756D
6193441621 Fix if expecting a 'then' as else starter 2024-02-21 15:08:16 +01:00
0x4261756D
fcaf1c1570 Fix parser crashing in repeat-until block 2024-02-21 15:07:37 +01:00
0x4261756D
d1b855144e Make parser nodes json serializable 2024-02-21 15:05:06 +01:00
0x4261756D
27f2917670 Implement missing parser methods 2024-02-21 13:49:04 +01:00
0x4261756D
b7f725afee Fix crash if a block has no stats 2024-02-21 13:48:43 +01:00
0x4261756D
dd813aa624 Explicitly pass values in RetstatNode constructor 2024-02-21 13:48:02 +01:00
0x4261756D
1679fe8e6e Fix Numeral and LiteralString ExpNodes requiring two regions 2024-02-21 13:47:38 +01:00
0x4261756D
ed50d40c1c Fix SuffixexpNodes subclasses inheriting from the wrong base 2024-02-21 13:47:02 +01:00
0x4261756D
bb954e99d5 Don't use implicit usings 2024-02-21 13:45:54 +01:00
0x4261756D
02aab2e590 Start working on the parser 2024-02-01 02:20:22 +01:00