glsl: Add missing ';' in action statement.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 14 Nov 2011 14:14:45 +0000 (14:14 +0000)
committerJosé 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

index f3e87380035c2ad610576d3768aed64639ed9d49..836390453b1128ffd33ed4121a6d06edbcce801f 100644 (file)
@@ -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
        {