Closed JakeShirley closed 8 months ago
It seems like you're using an outdated version. It works on Compiler Explorer: https://cpp2.godbolt.org/z/fsvzKefsr.
Welp, you're right!
Updating to the latest seems to make the error go away.
Thanks for the quick reply, closing.
To close the loop, this was fixed in c1d3e0edc8b2e2a2c035f68b6c0012c5b7049a07
Describe the bug Checking a backslash ('\') character value in an
if
check causes cppfront to think there are brace mismatches.To Reproduce Example code:
Expected Behavior: Code compiles and runs, or alternatively gives an accurate error of what and why the error occurred.
Observed Results: cppfront fails with the following error:
Additional context A friend and I are using cppfront in Advent of Code this year and both (separately) hit this on the 2023 Day 16 problem 😅 .