widl: Be more strict about where semicolons can appear in IDL files.
commit772f3af9f0ac5a28fde31641c497fb02dbab110c
authorRob Shearman <rob@codeweavers.com>
Tue, 1 Apr 2008 11:47:56 +0000 (1 12:47 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Apr 2008 17:10:43 +0000 (1 19:10 +0200)
tree2912071a91d0ccf11912fb3562d6371c3a225b67
parentcc33f6c8a5df21589efa7ce26f8b13715e698008
widl: Be more strict about where semicolons can appear in IDL files.

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
tools/widl/parser.l
tools/widl/parser.y