[WIDL] Fix a deprecation message and hints on how to build a new scanner and parser

This commit is contained in:
Eric Kohl 2020-12-26 14:22:43 +01:00
parent f9220ea444
commit 7b20065211
2 changed files with 6 additions and 1 deletions

View file

@ -321,7 +321,7 @@ static typelib_t *current_typelib;
%right '!' '~' CAST PPTR POS NEG ADDRESSOF tSIZEOF
%left '.' MEMBERPTR '[' ']'
%error-verbose
%define parse.error verbose
%%

View file

@ -0,0 +1,5 @@
To generate a new scanner and parser run:
flex --header-file=parser.yy.h --outfile=parser.yy.c parser.l
bison --defines=parser.tab.h --name-prefix=parser_ parser.y