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
6fbed51e
Commit
6fbed51e
authored
Jul 11, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Make declaration_statement return a list.
parent
b33e1cea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
hlsl.y
dlls/d3dcompiler_43/hlsl.y
+4
-2
No files found.
dlls/d3dcompiler_43/hlsl.y
View file @
6fbed51e
...
...
@@ -251,6 +251,7 @@ static unsigned int components_count_expr_list(struct list *list)
%type <boolval> boolean
%type <type> base_type
%type <type> type
%type <list> declaration_statement
%type <list> complex_initializer
%type <list> initializer_expr_list
%type <instr> initializer_expr
...
...
@@ -530,6 +531,8 @@ base_type: KW_VOID
declaration_statement: declaration
{
$$ = d3dcompiler_alloc(sizeof(*$$));
list_init($$);
}
declaration: var_modifiers type variables_def ';'
...
...
@@ -713,8 +716,7 @@ statement_list: statement
statement: declaration_statement
{
$$ = d3dcompiler_alloc(sizeof(*$$));
list_init($$);
$$ = $1;
}
| expr_statement
{
...
...
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