Commit graph

7 commits

Author SHA1 Message Date
c74bd74bda Add another parser test 2021-12-18 17:06:17 +01:00
3759813ed9 Parser tests: Make LIST_* macros type safe
With the varargs approach that was used before, it was very easy to add a
list item of the wrong type, which would (hopefully) result in an assertion
violation, because va_arg() then read some senseless data.
2021-12-18 16:35:18 +01:00
5712d7f4ff Add more parser tests 2021-12-18 16:12:37 +01:00
632687b47d Parser tests: Add helpers for creating consts 2021-12-18 16:11:23 +01:00
1ba891282e Parser test: Fix error message when encountering an error 2021-12-18 16:09:53 +01:00
e3369d8a32 Add more parser tests 2021-12-17 21:08:03 +01:00
3469623fee Add first parser test cases 2021-12-16 23:42:37 +01:00