mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Fix bison warnings on incompatibilities with POSIX Yacc (#2634)
This commit is contained in:
@ -44,10 +44,10 @@ BUILT_SOURCES = src/builtin.inc src/version.h
|
||||
$(AM_V_LEX) echo "NOT building lexer.c!"
|
||||
endif
|
||||
|
||||
# Tell YACC (bison) autoconf macros that you want a header file created.
|
||||
# If the --warnings=all fails, you probably have an old version of bison
|
||||
# OSX ships an old bison, so update with homebrew or macports
|
||||
AM_YFLAGS = --warnings=all -d
|
||||
# Tell YACC (Bison) autoconf macros that you want a header file created.
|
||||
# If the --warnings=all fails, you probably have an old version of Bison
|
||||
# macOS ships an old Bison, so update with Homebrew or MacPorts.
|
||||
AM_YFLAGS = --warnings=all -Wno-yacc -d
|
||||
|
||||
### libjq
|
||||
|
||||
|
@ -26,7 +26,7 @@ struct lexer_param;
|
||||
}
|
||||
|
||||
%locations
|
||||
%error-verbose
|
||||
%define parse.error verbose
|
||||
%define api.pure
|
||||
%union {
|
||||
jv literal;
|
||||
|
Reference in New Issue
Block a user