projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471471f
)
Add parameters to function declarations in the correct order
author
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 12 Mar 2010 00:11:07 +0000
(16:11 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 12 Mar 2010 00:11:07 +0000
(16:11 -0800)
glsl_parser.ypp
patch
|
blob
|
history
diff --git
a/glsl_parser.ypp
b/glsl_parser.ypp
index 058a03231dace870ed07d984a7133dfb25b73a9c..cc9e11676a312c53bdfd801eac171a8ebb081e9a 100644
(file)
--- a/
glsl_parser.ypp
+++ b/
glsl_parser.ypp
@@
-581,13
+581,13
@@
function_header_with_parameters:
function_header parameter_declaration
{
$$ = $1;
- insert_at_
head
(& $$->parameters,
+ insert_at_
tail
(& $$->parameters,
(struct simple_node *) $2);
}
| function_header_with_parameters ',' parameter_declaration
{
$$ = $1;
- insert_at_
head
(& $$->parameters,
+ insert_at_
tail
(& $$->parameters,
(struct simple_node *) $3);
}
;