projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab3ace5
)
glsl: Add missing ';' in action statement.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 14 Nov 2011 14:14:45 +0000
(14:14 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 14 Nov 2011 14:14:45 +0000
(14:14 +0000)
Addresses the warnings:
warning: a `;' might be needed at the end of action code
warning: future versions of Bison will not add the `;'
src/glsl/glsl_parser.yy
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser.yy
b/src/glsl/glsl_parser.yy
index f3e87380035c2ad610576d3768aed64639ed9d49..836390453b1128ffd33ed4121a6d06edbcce801f 100644
(file)
--- a/
src/glsl/glsl_parser.yy
+++ b/
src/glsl/glsl_parser.yy
@@
-1706,7
+1706,7
@@
case_statement:
ast_case_statement *stmts = new(state) ast_case_statement($1);
stmts->stmts.push_tail(& $2->link);
- $$ = stmts
+ $$ = stmts
;
}
| case_statement statement
{