Enable Bison warnings

-Wall should be old enough.
Also use %empty instead of comments
This commit is contained in:
ISSOtm
2021-01-23 00:02:05 +01:00
parent e3d355d976
commit 1926065377
3 changed files with 15 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ else()
endif()
find_package(BISON REQUIRED)
set(BISON_FLAGS "")
set(BISON_FLAGS "-Wall")
# Set sompe optimization flags on versions that support them
if(BISON_VERSION VERSION_GREATER_EQUAL "3.5")
set(BISON_FLAGS "${BISON_FLAGS} -Dapi.token.raw=true")