Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a3b35129
Commit
a3b35129
authored
Dec 16, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Added bindable and displaybind attributes handling.
parent
9e656009
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
parser.l
tools/widl/parser.l
+1
-0
parser.y
tools/widl/parser.y
+3
-0
widltypes.h
tools/widl/widltypes.h
+2
-0
No files found.
tools/widl/parser.l
View file @
a3b35129
...
...
@@ -210,6 +210,7 @@ static struct keyword {
/* ... */
{"dispinterface", tDISPINTERFACE},
/* ... */
{"displaybind", tDISPLAYBIND},
{"dllname", tDLLNAME},
{"double", tDOUBLE},
{"dual", tDUAL},
...
...
tools/widl/parser.y
View file @
a3b35129
...
...
@@ -133,6 +133,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tCONTEXTHANDLESERIALIZE tCONTROL tCPPQUOTE
%token tDEFAULT
%token tDEFAULTVALUE
%token tDISPLAYBIND
%token tDISPINTERFACE
%token tDLLNAME tDOUBLE tDUAL
%token tENDPOINT
...
...
@@ -339,6 +340,7 @@ attrib_list: attribute
attribute:
tASYNC { $$ = make_attr(ATTR_ASYNC); }
| tAUTOHANDLE { $$ = make_attr(ATTR_AUTO_HANDLE); }
| tBINDABLE { $$ = make_attr(ATTR_BINDABLE); }
| tCALLAS '(' ident ')' { $$ = make_attrp(ATTR_CALLAS, $3); }
| tCASE '(' expr_list_const ')' { $$ = make_attrp(ATTR_CASE, $3); }
| tCONTEXTHANDLE { $$ = make_attrv(ATTR_CONTEXTHANDLE, 0); }
...
...
@@ -348,6 +350,7 @@ attribute:
| tDEFAULT { $$ = make_attr(ATTR_DEFAULT); }
| tDEFAULTVALUE '(' expr_const ')' { $$ = make_attrp(ATTR_DEFAULTVALUE_EXPR, $3); }
| tDEFAULTVALUE '(' aSTRING ')' { $$ = make_attrp(ATTR_DEFAULTVALUE_STRING, $3); }
| tDISPLAYBIND { $$ = make_attr(ATTR_DISPLAYBIND); }
| tDLLNAME '(' aSTRING ')' { $$ = make_attrp(ATTR_DLLNAME, $3); }
| tDUAL { $$ = make_attr(ATTR_DUAL); }
| tENDPOINT '(' aSTRING ')' { $$ = make_attrp(ATTR_ENDPOINT, $3); }
...
...
tools/widl/widltypes.h
View file @
a3b35129
...
...
@@ -58,6 +58,7 @@ enum attr_type
{
ATTR_ASYNC
,
ATTR_AUTO_HANDLE
,
ATTR_BINDABLE
,
ATTR_CALLAS
,
ATTR_CASE
,
ATTR_CONTEXTHANDLE
,
...
...
@@ -66,6 +67,7 @@ enum attr_type
ATTR_DEFAULTVALUE_EXPR
,
ATTR_DEFAULTVALUE_STRING
,
ATTR_DISPINTERFACE
,
ATTR_DISPLAYBIND
,
ATTR_DLLNAME
,
ATTR_DUAL
,
ATTR_ENDPOINT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment