mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[WIDL] Fix a deprecation message and hints on how to build a new scanner and parser
This commit is contained in:
parent
f9220ea444
commit
7b20065211
2 changed files with 6 additions and 1 deletions
|
@ -321,7 +321,7 @@ static typelib_t *current_typelib;
|
||||||
%right '!' '~' CAST PPTR POS NEG ADDRESSOF tSIZEOF
|
%right '!' '~' CAST PPTR POS NEG ADDRESSOF tSIZEOF
|
||||||
%left '.' MEMBERPTR '[' ']'
|
%left '.' MEMBERPTR '[' ']'
|
||||||
|
|
||||||
%error-verbose
|
%define parse.error verbose
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
|
|
5
sdk/tools/widl/readme.txt
Normal file
5
sdk/tools/widl/readme.txt
Normal 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
|
Loading…
Reference in a new issue