widl: Be more strict about where semicolons can appear in IDL files.
Robert Shearman
rob at codeweavers.com
Tue Apr 1 06:47:56 CDT 2008
In particular, don't allow them after cpp_quote and without a statement.
Update the rules for importlib, library definition, dispinterface
definition, interface definition, coclass definition and module
definition to optionally allow a semicolon postfix.
Call pop_import from the parser instead of the lexer to ensure that
pop_import is only called after the last statement in the imported file
has been parsed.
---
tools/widl/parser.h | 1 +
tools/widl/parser.l | 8 ++------
tools/widl/parser.y | 37 +++++++++++++++++++++++++------------
3 files changed, 28 insertions(+), 18 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2598ccd72b76f2b5def1e5d39a3b5f662958364d.diff
Type: text/x-patch
Size: 5062 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080401/7a553f22/attachment.bin
More information about the wine-patches
mailing list