This breaks with the version of bison that comes with Xcode:
$ bison --version bison (GNU Bison) 2.3 […] $ bison -p parser_ -o parser.tab.c -d ../../../tools/widl/parser.y ../../../tools/widl/parser.y:321.9-19: syntax error, unexpected identifier, expecting string
Installing a newer version of Bison (e.g. via MacPorts) does work around it. Maybe there should be a configure check?
-Ken
On Apr 23, 2019, at 5:39 PM, Alexandre Julliard julliard@winehq.org wrote:
Module: wine Branch: master Commit: 5ea4d5971bff3430c29f1da31166b0a2565347ab URL: https://source.winehq.org/git/wine.git/?a=commit;h=5ea4d5971bff3430c29f1da31...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Apr 23 11:47:22 2019 +0200
widl: Use %define parse.error verbose instead of %error-verbose.
The latter is deprecated and causes warnings.
Signed-off-by: Alexandre Julliard julliard@winehq.org
tools/widl/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 5156dce..dd676e9 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -318,7 +318,7 @@ static typelib_t *current_typelib; %right '!' '~' CAST PPTR POS NEG ADDRESSOF tSIZEOF %left '.' MEMBERPTR '[' ']'
-%error-verbose +%define parse.error verbose
%%