forked from qt-creator/qt-creator
Fix AST for GLSL DeclarationStatement
DeclarationStatement wraps a single declaration, not a list.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user