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
53ae787d
Commit
53ae787d
authored
Mar 17, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Simplify reserved keywords lexing.
parent
858ec42a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
parser.l
tools/widl/parser.l
+0
-0
parser.y
tools/widl/parser.y
+7
-7
No files found.
tools/widl/parser.l
View file @
53ae787d
This diff is collapsed.
Click to expand it.
tools/widl/parser.y
View file @
53ae787d
...
...
@@ -934,17 +934,17 @@ typename: aIDENTIFIER
ident: typename { $$ = make_var($1); }
;
base_type: tBYTE { $$ = find_type_or_error(
NULL, $<str>1
); }
| tWCHAR { $$ = find_type_or_error(
NULL, $<str>1
); }
base_type: tBYTE { $$ = find_type_or_error(
NULL, "byte"
); }
| tWCHAR { $$ = find_type_or_error(
NULL, "wchar_t"
); }
| int_std
| tSIGNED int_std { $$ = type_new_int(type_basic_get_type($2), -1); }
| tUNSIGNED int_std { $$ = type_new_int(type_basic_get_type($2), 1); }
| tUNSIGNED { $$ = type_new_int(TYPE_BASIC_INT, 1); }
| tFLOAT { $$ = find_type_or_error(
NULL, $<str>1
); }
| tDOUBLE { $$ = find_type_or_error(
NULL, $<str>1
); }
| tBOOLEAN { $$ = find_type_or_error(
NULL, $<str>1
); }
| tERRORSTATUST { $$ = find_type_or_error(
NULL, $<str>1
); }
| tHANDLET { $$ = find_type_or_error(
NULL, $<str>1
); }
| tFLOAT { $$ = find_type_or_error(
NULL, "float"
); }
| tDOUBLE { $$ = find_type_or_error(
NULL, "double"
); }
| tBOOLEAN { $$ = find_type_or_error(
NULL, "boolean"
); }
| tERRORSTATUST { $$ = find_type_or_error(
NULL, "error_status_t"
); }
| tHANDLET { $$ = find_type_or_error(
NULL, "handle_t"
); }
;
m_int
...
...
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