widl input_sync
Ove Kaaven
ovek at arcticnet.no
Wed Feb 11 08:57:27 CST 2004
Seems this attribute is used in newer MS idl files.
Log:
Parse the [input_sync] attribute.
Index: parser.l
===================================================================
RCS file: /cvsroot/rewind/rewind/tools/widl/parser.l,v
retrieving revision 1.6
diff -u -r1.6 parser.l
--- parser.l 8 Jan 2004 14:14:41 -0000 1.6
+++ parser.l 11 Feb 2004 14:51:44 -0000
@@ -195,6 +195,7 @@
{"in", tIN},
{"include", tINCLUDE},
{"in_line", tINLINE},
+ {"input_sync", tINPUTSYNC},
{"int", tINT},
/* ... */
{"interface", tINTERFACE},
Index: parser.y
===================================================================
RCS file: /cvsroot/rewind/rewind/tools/widl/parser.y,v
retrieving revision 1.9
diff -u -r1.9 parser.y
--- parser.y 8 Jan 2004 14:14:41 -0000 1.9
+++ parser.y 11 Feb 2004 14:51:44 -0000
@@ -125,6 +125,7 @@
%token tIIDIS
%token tIMPORT tIMPORTLIB
%token tIN tINCLUDE tINLINE
+%token tINPUTSYNC
%token tINT tINT64
%token tINTERFACE
%token tLENGTHIS tLIBRARY
@@ -305,6 +321,7 @@
| tIDEMPOTENT { $$ = make_attr(ATTR_IDEMPOTENT); }
| tIIDIS '(' ident ')' { $$ = make_attrp(ATTR_IIDIS, $3); }
| tIN { $$ = make_attr(ATTR_IN); }
+ | tINPUTSYNC { $$ = make_attr(ATTR_INPUTSYNC); }
| tLENGTHIS '(' m_exprs ')' { $$ = make_attrp(ATTR_LENGTHIS, $3); }
| tLOCAL { $$ = make_attr(ATTR_LOCAL); }
| tOBJECT { $$ = make_attr(ATTR_OBJECT); }
Index: widltypes.h
===================================================================
RCS file: /cvsroot/rewind/rewind/tools/widl/widltypes.h,v
retrieving revision 1.7
diff -u -r1.7 widltypes.h
--- widltypes.h 8 Jan 2004 14:14:41 -0000 1.7
+++ widltypes.h 11 Feb 2004 14:51:44 -0000
@@ -51,6 +51,7 @@
ATTR_IDEMPOTENT,
ATTR_IIDIS,
ATTR_IN,
+ ATTR_INPUTSYNC,
ATTR_LENGTHIS,
ATTR_LOCAL,
ATTR_OBJECT,
More information about the wine-patches
mailing list