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
1ec6ea52
Commit
1ec6ea52
authored
Jan 24, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add missing rule end semicolons.
parent
3384e7cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
parser.y
tools/widl/parser.y
+11
-5
No files found.
tools/widl/parser.y
View file @
1ec6ea52
...
...
@@ -388,7 +388,9 @@ imp_decl_statements
{ $$ = append_statement($1, make_statement_reference(type_parameterized_type_specialize_declare($3, $5))); }
;
imp_decl_block: tDECLARE '{' imp_decl_statements '}' { $$ = $3; }
imp_decl_block
: tDECLARE '{' imp_decl_statements '}' { $$ = $3; }
;
gbl_statements
: %empty { $$ = NULL; }
...
...
@@ -585,16 +587,20 @@ contract_ver:
| aNUM '.' aNUM { $$ = MAKEVERSION($3, $1); }
;
contract_req: decl_spec ',' contract_ver { if ($1->type->type_type != TYPE_APICONTRACT)
contract_req
: decl_spec ',' contract_ver { if ($1->type->type_type != TYPE_APICONTRACT)
error_loc("type %s is not an apicontract\n", $1->type->name);
$$ = make_exprl(EXPR_NUM, $3);
$$ = make_exprt(EXPR_GTREQL, declare_var(NULL, $1, make_declarator(NULL), 0), $$);
}
;
static_attr: decl_spec ',' contract_req { if ($1->type->type_type != TYPE_INTERFACE)
static_attr
: decl_spec ',' contract_req { if ($1->type->type_type != TYPE_INTERFACE)
error_loc("type %s is not an interface\n", $1->type->name);
$$ = make_exprt(EXPR_MEMBER, declare_var(NULL, $1, make_declarator(NULL), 0), $3);
}
;
activatable_attr:
decl_spec ',' contract_req { if ($1->type->type_type != TYPE_INTERFACE)
...
...
@@ -1367,8 +1373,8 @@ acf_interface
;
acf_attributes
: %empty { $$ = NULL; }
;
| '[' acf_attribute_list ']' { $$ = $2; }
;
: %empty { $$ = NULL; }
| '[' acf_attribute_list ']' { $$ = $2; }
;
acf_attribute_list
...
...
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