Fix AST for GLSL DeclarationStatement

DeclarationStatement wraps a single declaration, not a list.
This commit is contained in:
Rhys Weatherley
2010-11-26 10:06:05 +10:00
parent 950a12f687
commit e6f1fa0637
5 changed files with 7 additions and 10 deletions

View File

@@ -1865,7 +1865,7 @@ case 260: {
#line 2529 "./glsl.g"
case 261: {
ast(1) = makeAstNode<DeclarationStatementAST>(sym(1).declaration_list);
ast(1) = makeAstNode<DeclarationStatementAST>(sym(1).declaration);
} break;
#line 2536 "./glsl.g"