Commit 88bbfadb authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Parse the [input_sync] attribute.

parent cc535b7c
...@@ -236,6 +236,7 @@ static struct keyword { ...@@ -236,6 +236,7 @@ static struct keyword {
{"in", tIN}, {"in", tIN},
{"include", tINCLUDE}, {"include", tINCLUDE},
{"in_line", tINLINE}, {"in_line", tINLINE},
{"input_sync", tINPUTSYNC},
{"int", tINT}, {"int", tINT},
/* ... */ /* ... */
{"interface", tINTERFACE}, {"interface", tINTERFACE},
......
...@@ -140,6 +140,7 @@ static type_t std_uhyper = { "MIDL_uhyper" }; ...@@ -140,6 +140,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tIIDIS %token tIIDIS
%token tIMPORT tIMPORTLIB %token tIMPORT tIMPORTLIB
%token tIN tINCLUDE tINLINE %token tIN tINCLUDE tINLINE
%token tINPUTSYNC
%token tINT tINT64 %token tINT tINT64
%token tINTERFACE %token tINTERFACE
%token tLENGTHIS tLIBRARY %token tLENGTHIS tLIBRARY
...@@ -331,6 +332,7 @@ attribute: ...@@ -331,6 +332,7 @@ attribute:
| tIDEMPOTENT { $$ = make_attr(ATTR_IDEMPOTENT); } | tIDEMPOTENT { $$ = make_attr(ATTR_IDEMPOTENT); }
| tIIDIS '(' ident ')' { $$ = make_attrp(ATTR_IIDIS, $3); } | tIIDIS '(' ident ')' { $$ = make_attrp(ATTR_IIDIS, $3); }
| tIN { $$ = make_attr(ATTR_IN); } | tIN { $$ = make_attr(ATTR_IN); }
| tINPUTSYNC { $$ = make_attr(ATTR_INPUTSYNC); }
| tLENGTHIS '(' m_exprs ')' { $$ = make_attrp(ATTR_LENGTHIS, $3); } | tLENGTHIS '(' m_exprs ')' { $$ = make_attrp(ATTR_LENGTHIS, $3); }
| tLOCAL { $$ = make_attr(ATTR_LOCAL); } | tLOCAL { $$ = make_attr(ATTR_LOCAL); }
| tOBJECT { $$ = make_attr(ATTR_OBJECT); } | tOBJECT { $$ = make_attr(ATTR_OBJECT); }
......
...@@ -67,6 +67,7 @@ enum attr_type ...@@ -67,6 +67,7 @@ enum attr_type
ATTR_IDEMPOTENT, ATTR_IDEMPOTENT,
ATTR_IIDIS, ATTR_IIDIS,
ATTR_IN, ATTR_IN,
ATTR_INPUTSYNC,
ATTR_LENGTHIS, ATTR_LENGTHIS,
ATTR_LOCAL, ATTR_LOCAL,
ATTR_OBJECT, ATTR_OBJECT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment