Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
977d863c
Commit
977d863c
authored
Apr 26, 2004
by
Filip Navara
Committed by
Alexandre Julliard
Apr 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make widl parse the 'transmit_as' and 'endpoint' keywords.
parent
85ef4565
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
parser.l
tools/widl/parser.l
+2
-0
parser.y
tools/widl/parser.y
+4
-0
widltypes.h
tools/widl/widltypes.h
+2
-0
No files found.
tools/widl/parser.l
View file @
977d863c
...
...
@@ -213,6 +213,7 @@ static struct keyword {
{"double", tDOUBLE},
{"dual", tDUAL},
/* ... */
{"endpoint", tENDPOINT},
{"entry", tENTRY},
{"enum", tENUM},
{"error_status_t", tERRORSTATUST},
...
...
@@ -282,6 +283,7 @@ static struct keyword {
{"switch_is", tSWITCHIS},
{"switch_type", tSWITCHTYPE},
/* ... */
{"transmit_as", tTRANSMITAS},
{"typedef", tTYPEDEF},
{"union", tUNION},
/* ... */
...
...
tools/widl/parser.y
View file @
977d863c
...
...
@@ -132,6 +132,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tDEFAULT
%token tDISPINTERFACE
%token tDLLNAME tDOUBLE tDUAL
%token tENDPOINT
%token tENTRY tENUM tERRORSTATUST
%token tEXTERN
%token tFLOAT
...
...
@@ -164,6 +165,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
%token tSTDCALL
%token tSTRING tSTRUCT
%token tSWITCH tSWITCHIS tSWITCHTYPE
%token tTRANSMITAS
%token tTYPEDEF
%token tUNION
%token tUNIQUE
...
...
@@ -327,6 +329,7 @@ attribute:
| tDEFAULT { $$ = make_attr(ATTR_DEFAULT); }
| tDLLNAME '(' aSTRING ')' { $$ = make_attrp(ATTR_DLLNAME, $3); }
| tDUAL { $$ = make_attr(ATTR_DUAL); }
| tENDPOINT '(' aSTRING ')' { $$ = make_attrp(ATTR_ENDPOINT, $3); }
| tENTRY '(' aSTRING ')' { $$ = make_attrp(ATTR_ENTRY_STRING, $3); }
| tENTRY '(' expr_const ')' { $$ = make_attrp(ATTR_ENTRY_ORDINAL, $3); }
| tHANDLE { $$ = make_attr(ATTR_HANDLE); }
...
...
@@ -351,6 +354,7 @@ attribute:
| tSTRING { $$ = make_attr(ATTR_STRING); }
| tSWITCHIS '(' expr ')' { $$ = make_attrp(ATTR_SWITCHIS, $3); }
| tSWITCHTYPE '(' type ')' { $$ = make_attrp(ATTR_SWITCHTYPE, type_ref($3)); }
| tTRANSMITAS '(' type ')' { $$ = make_attrp(ATTR_TRANSMITAS, type_ref($3)); }
| tUUID '(' aUUID ')' { $$ = make_attrp(ATTR_UUID, $3); }
| tV1ENUM { $$ = make_attr(ATTR_V1ENUM); }
| tVERSION '(' version ')' { $$ = make_attrv(ATTR_VERSION, $3); }
...
...
tools/widl/widltypes.h
View file @
977d863c
...
...
@@ -65,6 +65,7 @@ enum attr_type
ATTR_DEFAULT
,
ATTR_DLLNAME
,
ATTR_DUAL
,
ATTR_ENDPOINT
,
ATTR_ENTRY_STRING
,
ATTR_ENTRY_ORDINAL
,
ATTR_HANDLE
,
...
...
@@ -90,6 +91,7 @@ enum attr_type
ATTR_STRING
,
ATTR_SWITCHIS
,
ATTR_SWITCHTYPE
,
ATTR_TRANSMITAS
,
ATTR_UUID
,
ATTR_V1ENUM
,
ATTR_VERSION
,
...
...
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