2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-05 18:51:55 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Jan
2176480a37 chore: update formatting due to updated clang-format version 2025-06-28 11:56:09 +01:00
Jan
3adbe5a275 refactor: fix additional zcg x64 warnings 2025-04-28 12:07:41 +01:00
Jan
60f5c1a18f refactor: adjust zcg code for working in x64 2025-04-26 19:08:15 +02:00
Jan
6f31e8cc29 chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
239001e6f2 refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
29a77ff0d8 Correctly name token-paste instead of token-join 2023-12-30 20:05:49 +01:00
Jan
e090e112e6 Implement token pasting 2023-12-30 20:03:35 +01:00
Jan
eece5bb91d Leave in token joining operator but do stringize forward lookup instead 2023-12-30 18:47:32 +01:00
Jan
edb88273e7 Fix not correct adding input suffix when expanding nested macro 2023-12-30 16:45:06 +01:00
Jan
70d4d77266 Identify token joining operators 2023-12-30 16:41:17 +01:00
Jan
729b72c1d9 Consider triple number sign in macro value combination of ## and # 2023-12-30 14:39:08 +01:00
Jan
799fa37c44 Fix not ignoring whitespace after macro parameter comma 2023-12-30 14:16:49 +01:00
Jan
d3519c2f62 Do not expand macros in strings 2023-12-30 14:01:59 +01:00
Jan
2af58e5cac Fix broken stringization resolution 2023-12-30 13:52:05 +01:00
Jan
3901ea2d3c Make DefinesProxy expand nested macros independently to avoid recursion 2023-12-30 11:06:27 +01:00
Jan
e8d029d846 Implement stringization operator 2023-12-27 15:20:15 +01:00
Jan
4ba33f03a0 Support comma in brackets and braces in preprocessor args 2023-12-24 01:01:17 +01:00
Jan
381aaccdf4 Fix unused variables 2023-12-24 00:29:31 +01:00
Jan
3ad2414754 Fix not being able to use two multi-line macros after another 2023-12-24 00:21:36 +01:00
Jan
9c80332147 Update macro expansion logic to accept parameters over multiple lines 2023-12-24 00:05:27 +01:00
Jan
b1d4176b6e Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan
12bb974324 Make DefinesProxy use ContinueDefine method instead of duplicated code 2023-12-23 13:54:45 +01:00
Jan
74154653aa Fix macro parameters not being able to be specified over multiple lines when defining 2023-12-23 13:53:45 +01:00
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
bba6fd9d4e Fix error in define expression crash 2022-09-07 22:00:18 +02:00
Jan
8f44a022a2 Remove unneeded includes 2022-09-06 22:26:04 +02:00
Jan
a36d1c430a Use SimpleExpressionInterpreter in DefinesStreamProxy and expand defines and defined expressions before parsing 2022-09-06 20:52:52 +02:00
Jan
6702856399 Make skipping lines in defines stream proxy configurable 2022-09-06 17:49:35 +02:00
Jan
d0155d426a Skip defines stream proxy empty lines 2022-09-05 23:30:06 +02:00
Jan
1464329245 Add raw templater 2022-09-05 23:25:11 +02:00
Jan
4ef38264c8 Rename defines if directive parsing to defines directive parsing 2022-09-05 20:17:31 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
a092f76ec9 Add option to not parse floating point numbers when using SimpleLexer 2022-03-30 19:07:54 +02:00
Jan
4b7a78100d Make defines stream proxy able to accept comma within parameter values that are in parenthesis 2021-12-02 22:19:48 +01:00
Jan
f5ed7880b0 Fix defines proxy not being able to process parameters with underscores 2021-12-01 23:19:20 +01:00
Jan
782b05a60b Fix defines proxy not correctly adding first line to escape line end define 2021-11-28 19:07:30 +01:00
Jan
e94c48338c Make defines proxy accept parameter values that have parenthesis 2021-11-28 15:52:45 +01:00
Jan
c65c57ce72 Add support for defineproxy if directive parsing 2021-11-25 18:01:18 +01:00
Jan
38f3d7d10e Move Menu Expression to Simple Namespace to have generic configurable expressions 2021-11-24 17:44:14 +01:00
Jan
5baa311025 Make defines proxy recognize define values that are escaped over multiple lines 2021-11-22 13:38:33 +01:00
Jan
6b7a71a1bb Make defines proxy accept whitespace 2021-11-22 09:43:03 +01:00
Jan
e19f526d8b Properly handle tabs in pragma directives and other precompiler statements 2021-11-01 14:36:53 +01:00
Jan
9816d01ac2 Make DefinesProxy go over a line with defines substitution multiple times until no further substitution has been done 2021-10-31 16:21:04 +01:00
Jan
8d9080066f Extract commonly used Parser code to new Parser component 2021-03-08 20:06:34 +01:00