[PATCH 2/2] widl: Add the parsing of storage classes into declaration-specifiers.

Robert Shearman rob at codeweavers.com
Wed Apr 30 09:23:23 CDT 2008


Support the static and register keywords.

This consolidates externdef and constdef rules into one declaration rule.
---
    tools/widl/header.c    |   47 +++++++++++++++++----
    tools/widl/header.h    |    4 +-
    tools/widl/parser.l    |    2 +
    tools/widl/parser.y    |  107
++++++++++++++++++++++++++++++++----------------
    tools/widl/widltypes.h |    3 +-
    5 files changed, 115 insertions(+), 48 deletions(-)

This patch also has the nice side-effect of eliminating all of the
shift/reduce conflicts in parser.y.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9ae5f1551cf00f10a258c42027b5e59e05bccd95.diff
Type: text/x-patch
Size: 14183 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080430/9432d996/attachment-0001.bin 


More information about the wine-patches mailing list