Commit graph

18 commits

Author SHA1 Message Date
smallmodel
08a985d183
Format script grammar source files
Some checks failed
Build branch / build-all (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2025-04-26 19:35:45 +02:00
smallmodel
a08a9a4f10
Remove TOKEN_NUMBER (unused)
Some maps use #xx to indicate an identifier, so remove this token to avoid errors
2024-12-08 18:24:33 +01:00
smallmodel
a0b80a9096
Fix string not usable for targetname 2024-11-16 18:17:19 +01:00
smallmodel
1a18878f26
Parse unary operators last when calling events 2024-10-31 22:16:20 +01:00
smallmodel
0f3ffa267a
Parse const array elements properly 2024-10-31 01:22:38 +01:00
smallmodel
dc60cb45b2
Fixed scripts using syntax like $self 2024-04-09 23:22:54 +02:00
smallmodel
2929bd82a5
Removed func_expr as it's not used 2023-08-19 23:08:00 +02:00
smallmodel
09ed4e4a1d
Fixed grammar priorities of the unuary and complement 2023-08-19 00:34:14 +02:00
smallmodel
697013bbbf
Fixed grammar priorities with const array 2023-08-18 01:18:18 +02:00
smallmodel
f1abfeced6
Fixed grammar for if/while/for statements with a single line and a semi-colon 2023-08-17 02:59:54 +02:00
smallmodel
ab5a3604bf
Fixed grammar like "$(value).field"
Fixed newline in if statements
Fixed if/else being ambiguous
2023-08-17 01:05:55 +02:00
smallmodel
9eaecb0a2a
Fixed a crash when loading a script, on non-MSVC binaries 2023-08-16 16:07:42 +02:00
smallmodel
5e83e03e33
Major grammar/lexer/compiler fixes 2023-08-13 03:34:09 +02:00
smallmodel
f5af33b181
Major script engine fixes 2023-08-12 19:59:40 +02:00
OM
55e07205e3 Fixed sval_func1 not having a sourcepos (leading to invalid memory access) 2023-06-27 00:01:30 +02:00
OM
ba489a6412 Replaced %error-verbose with %define parse.error verbose 2023-06-20 21:17:18 +02:00
OM
147851c506 Moved flex/bison generated files to subfolder "generated"
Added FLEX/BISON cmake generation
2023-06-17 16:54:12 +02:00
L
cf18c3a96f Moved script stuff to their matching directory 2023-01-30 18:20:50 +01:00
Renamed from code/game/parser/yyParser.yy (Browse further)