Adapt the RGBASM parser to C++ (#1333)

This uses variants instead of a `%union`, and "complete symbols"
that can call complex constructors.
This commit is contained in:
Sylvie
2024-03-06 20:40:36 -05:00
committed by GitHub
parent 8c173b4e95
commit 292adb27a3
6 changed files with 1015 additions and 952 deletions

View File

@@ -174,7 +174,7 @@ clean:
$Qfind src/ -name "*.o" -exec rm {} \;
$Qfind . -type f \( -name "*.gcno" -o -name "*.gcda" -o -name "*.gcov" \) -exec rm {} \;
$Q${RM} rgbshim.sh
$Q${RM} src/asm/parser.cpp src/asm/parser.hpp
$Q${RM} src/asm/parser.cpp src/asm/parser.hpp src/asm/stack.hh
$Q${RM} src/link/script.cpp src/link/script.hpp src/link/stack.hh
$Q${RM} test/gfx/randtilegen test/gfx/rgbgfx_test