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 1ec817f commit f2cb08cCopy full SHA for f2cb08c
src/CMakeLists.txt
@@ -25,7 +25,8 @@ macro(generic_bison name)
25
endif()
26
27
set(bison_source "${name}_y.tab.cpp")
28
- set_source_files_properties(${bison_source} PROPERTIES COMPILE_FLAGS -Dyyalloc=${name}_yyalloc)
+ set_source_files_properties(${bison_source} PROPERTIES
29
+ COMPILE_FLAGS "-Dyyalloc=${name}_yyalloc -Dyysymbol_kind_t=${name}_yysymbol_kind_t")
30
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${bison_source}")
31
message(FATAL_ERROR "Generated file ${bison_source} found in source tree. If you previously built with `make`, run `make clean` and try again")
32
0 commit comments