diff options
author | Adrian Negreanu <groleo@gmail.com> | 2016-09-21 10:31:14 (GMT) |
---|---|---|
committer | Adrian Negreanu <groleo@gmail.com> | 2016-09-21 10:36:50 (GMT) |
commit | 97c2c1d6f323d6d38dda4820c00ca8ca8f5b6940 (patch) | |
tree | 36656cb11d05a83292cebfc46cbed3260eded8be /src | |
parent | 0bdb01d4b6ced07750d8e449fd4ffab5554d8a24 (diff) | |
download | Doxygen-97c2c1d6f323d6d38dda4820c00ca8ca8f5b6940.zip Doxygen-97c2c1d6f323d6d38dda4820c00ca8ca8f5b6940.tar.gz Doxygen-97c2c1d6f323d6d38dda4820c00ca8ca8f5b6940.tar.bz2 |
bison: use %declarations instead of command line options.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/constexp.y | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3661491..1d6d217 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -118,8 +118,7 @@ FLEX_TARGET(constexp constexp.l ${GENERATED_SRC}/constexp.cpp FLEX_TARGET(xmlcode xmlcode.l ${GENERATED_SRC}/xmlcode.cpp COMPILE_FLAGS "${LEX_FLAGS}") FLEX_TARGET(configimpl configimpl.l ${GENERATED_SRC}/configimpl.cpp COMPILE_FLAGS "${LEX_FLAGS}") -BISON_TARGET(vhdlparser vhdlparser.y ${GENERATED_SRC}/vhdlparser.cpp COMPILE_FLAGS "${YACC_FLAGS} -l -p vhdlscannerYY") -BISON_TARGET(constexp constexp.y ${GENERATED_SRC}/ce_parse.cpp COMPILE_FLAGS "${YACC_FLAGS} -l -p constexpYY") +BISON_TARGET(constexp constexp.y ${GENERATED_SRC}/ce_parse.cpp COMPILE_FLAGS "${YACC_FLAGS}") add_library(doxycfg STATIC ${GENERATED_SRC}/lang_cfg.h diff --git a/src/constexp.y b/src/constexp.y index c63fa5e..cada993 100644 --- a/src/constexp.y +++ b/src/constexp.y @@ -42,6 +42,9 @@ int constexpYYlex(); %} +%no-lines +%name-prefix "constexpYY" + %token TOK_QUESTIONMARK %token TOK_COLON %token TOK_OR |