Skip to content
Snippets Groups Projects
Commit 7aa292e5 authored by Leslie Zhai's avatar Leslie Zhai Committed by Kevin Funk
Browse files

Fix yymore_used_but_not_detected undefined issue

flex-2.6.3 failed to

```
  #define yymore() yymore_used_but_not_detected
```

throw yymore_used_but_not_detected undefined issue, so I simply added --yymore option for CMakeLists.txt

REVIEW: 129766
BUG: 374523
FIXED-IN: 2.0.1
parent c4d6e92c
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ IF(FLEX_EXECUTABLE)
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/kdev-pg-lexer.ll"
${OPTIONAL_PARSER_HEADER_DEPENDENCY}
COMMAND ${FLEX_EXECUTABLE}
ARGS --nounistd -o"${CMAKE_CURRENT_BINARY_DIR}/kdev-pg-lexer.cc"
ARGS --yymore --nounistd -o"${CMAKE_CURRENT_BINARY_DIR}/kdev-pg-lexer.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/kdev-pg-lexer.ll"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment