Remove dbgPrint and TRACE_LEXER support

I have not found `TRACE_LEXER` to be useful in debugging
actual lexer issues.
This commit is contained in:
Rangi
2021-11-22 17:29:01 -05:00
committed by Eldred Habert
parent 9d9febe1d3
commit aac839f389
3 changed files with 9 additions and 80 deletions

View File

@@ -26,7 +26,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)
option(TRACE_LEXER "Trace lexer execution" OFF)
if(MSVC)
# MSVC's standard library triggers warning C5105,
@@ -93,7 +92,3 @@ endif()
if(TRACE_PARSER)
target_compile_definitions(rgbasm PRIVATE -DYYDEBUG)
endif()
if(TRACE_LEXER)
target_compile_definitions(rgbasm PRIVATE -DLEXER_DEBUG)
endif()