Skip to content

Commit abf215e

Browse files
committed
Add flex bison definition.
1 parent 03ab829 commit abf215e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/inserts/functions.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,9 @@ macro(cppan_generate_flex_bison_config)
12121212
DEPENDS ${parser_include_in}
12131213
)
12141214
target_sources(${this} PRIVATE ${parser_include})
1215+
1216+
# set potential access to private fields
1217+
target_compile_definitions(${this} PRIVATE HAVE_BISON_${name_upper}_PARSER)
12151218
endmacro()
12161219

12171220
########################################

0 commit comments

Comments
 (0)