diff --git a/CMakeLists.txt b/CMakeLists.txt index 377af081..7eca8809 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,6 @@ endif() option(SANITIZERS "Build with sanitizers enabled" OFF) # Ignored on MSVC option(MORE_WARNINGS "Turn on more warnings" OFF) # Ignored on MSVC -option(TRACE_PARSER "Trace parser execution" OFF) if(MSVC) # MSVC's standard library triggers warning C5105, @@ -88,7 +87,3 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release") message(CHECK_FAIL "no") endif() endif() - -if(TRACE_PARSER) - target_compile_definitions(rgbasm PRIVATE -DYYDEBUG) -endif() diff --git a/src/asm/main.c b/src/asm/main.c index 78daee87..8abe986a 100644 --- a/src/asm/main.c +++ b/src/asm/main.c @@ -52,10 +52,6 @@ char const *__asan_default_options(void) { return "detect_leaks=0"; } // Unfortunately, macOS still ships 2.3, which is from 2008... int yyparse(void); -#if defined(YYDEBUG) && YYDEBUG -extern int yydebug; -#endif - FILE * dependfile; bool generatedMissingIncludes; bool failedOnMissingInclude; @@ -161,10 +157,6 @@ int main(int argc, char *argv[]) dependfile = NULL; -#if defined(YYDEBUG) && YYDEBUG - yydebug = 1; -#endif - // Perform some init for below sym_Init(now);