We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069ab34 commit ff22099Copy full SHA for ff22099
src/CMakeLists.txt
@@ -23,7 +23,8 @@ macro(generic_bison name)
23
endif()
24
25
set(bison_source "${name}_y.tab.cpp")
26
- set_source_files_properties(${bison_source} PROPERTIES COMPILE_FLAGS -Dyyalloc=${name}_yyalloc)
+ set_source_files_properties(${bison_source} PROPERTIES
27
+ COMPILE_FLAGS "-Dyyalloc=${name}_yyalloc -Dyysymbol_kind_t=${name}_yysymbol_kind_t")
28
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${bison_source}")
29
message(FATAL_ERROR "Generated file ${bison_source} found in source tree. If you previously built with `make`, run `make clean` and try again")
30
0 commit comments