Commit graph

8 commits

Author SHA1 Message Date
f685214abe Add apfl_string_eq macro
It's easy to forget the `== 0` after the apfl_string_cmp() call, so let's
add a macro that does the job for us.
2022-01-02 16:51:19 +01:00
0995739ca8 Parser: Do a better job at cleaning up temporary allocations
-fsanitize=memory no longer finds any memory leak in the parser test suite.
We don't yet test error cases, but still pretty good :).
2021-12-18 21:42:48 +01:00
4908386435 expr: Also print position on variables and constants 2021-12-17 21:07:45 +01:00
10a99d0b1e expr: Fix silly bug in equality check 2021-12-16 23:42:11 +01:00
808219f9c7 expr: Fix printing assignments 2021-12-15 23:11:54 +01:00
fd3c5702ca expr: More consistent and easier to read printing 2021-12-15 21:47:17 +01:00
ade0972d67 expr: Fix moving listlike structures 2021-12-15 21:47:17 +01:00
d094ed7bd5 Initial commit 2021-12-15 21:47:17 +01:00