30 Commits

Author SHA1 Message Date
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
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
37b1f7fe87
Add more DefinesStreamProxy tests to harden expected behavior 2023-12-28 17:20:44 +01:00
Jan
b151c37dc0
Add unit tests for preprocessor operators 2023-12-27 15:20:03 +01:00
Jan
4ba33f03a0
Support comma in brackets and braces in preprocessor args 2023-12-24 01:01:17 +01:00
Jan
067f1a854e
Add unit tests for properly parsing comma in square brackets and curly
braces in macro usages
2023-12-24 00:44:27 +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
b1d4176b6e
Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan
c1c5378b08
Fix example line formatting in DefinesStreamProxy Test 2023-12-23 13:54:53 +01:00
Jan
b7022291a8
Add unit tests for expected behaviour for DefinesStreamProxy 2023-12-23 13:53:42 +01:00
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
2cd5d05a19 Use escaped strings with simple lexer whenever appropriate 2023-09-23 15:21:09 +02:00
Jan
6c164eee61 Update catch2 version 2023-06-18 13:40:30 +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
8e7cd0140c Fix comment removing defines proxy not properly removing multiple comments per line 2021-11-28 19:29:50 +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
e7eb43a955 Correctly parse binary operations that can be interpreted as sign prefixes for numbers 2021-11-28 15:16:43 +01:00
Jan
2a4768e5b0 Add conditional operator to simple expressions 2021-11-26 17:39:46 +01:00
Jan
82cda64a44 Add missing unit tests for elif directive 2021-11-25 18:10:29 +01:00
Jan
c65c57ce72 Add support for defineproxy if directive parsing 2021-11-25 18:01:18 +01:00
Jan
887d14df54 Move generic parser unit tests from zonecodegenerator to parsertests 2021-11-25 15:17:30 +01:00
Jan
4b2f001e7c Add more unit tests for simple expressions and fix code 2021-11-25 12:33:30 +01:00
Jan
7680f92ae1 Add base for simple expression unit tests 2021-11-25 01:20:51 +01:00