Mesa (master): glsl: Add missing ';' in action statement.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Nov 14 14:15:50 UTC 2011
Module: Mesa
Branch: master
Commit: b0cdeda4f290bceb214c760d6d23c01a673e6a87
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0cdeda4f290bceb214c760d6d23c01a673e6a87
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Nov 14 14:14:45 2011 +0000
glsl: Add missing ';' in action statement.
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
index f3e8738..8363904 100644
--- 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
{
More information about the mesa-commit
mailing list