File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ set(common_src
9
9
)
10
10
11
11
find_package (BISON 3.0.0 REQUIRED )
12
- set (BISON_FLAGS "-Wall -Dparse.lac=full - Dlr.type=ielr" )
12
+ set (BISON_FLAGS "-Wall -Dlr.type=ielr" )
13
13
# Set some optimization flags on versions that support them
14
14
if (BISON_VERSION VERSION_GREATER_EQUAL "3.5" )
15
- set (BISON_FLAGS "${BISON_FLAGS} -Dapi.token.raw=true" )
15
+ set (BISON_FLAGS "${BISON_FLAGS} -Dparse.lac=full - Dapi.token.raw=true" )
16
16
endif ()
17
17
if (BISON_VERSION VERSION_GREATER_EQUAL "3.6" )
18
18
set (BISON_FLAGS "${BISON_FLAGS} -Dparse.error=detailed" )
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ if [ "$BISON_MAJOR" -lt 3 ]; then
12
12
exit 1
13
13
fi
14
14
15
- BISON_FLAGS=" -Wall -Dparse.lac=full - Dlr.type=ielr"
15
+ BISON_FLAGS=" -Wall -Dlr.type=ielr"
16
16
17
17
# Set some optimization flags on versions that support them
18
18
if [ " $BISON_MAJOR " -ge 4 ] || [ " $BISON_MAJOR " -eq 3 ] && [ " $BISON_MINOR " -ge 5 ]; then
19
- BISON_FLAGS=" $BISON_FLAGS -Dapi.token.raw=true"
19
+ BISON_FLAGS=" $BISON_FLAGS -Dparse.lac=full - Dapi.token.raw=true"
20
20
fi
21
21
if [ " $BISON_MAJOR " -ge 4 ] || [ " $BISON_MAJOR " -eq 3 ] && [ " $BISON_MINOR " -ge 6 ]; then
22
22
BISON_FLAGS=" $BISON_FLAGS -Dparse.error=detailed"
You can’t perform that action at this time.
0 commit comments