OSDN Git Service

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 f3e8738..8363904 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
        {