forked from qt-creator/qt-creator
Remove type categories from the GLSL AST
Type categories are now handled at semantic analysis time so we don't need to track them at syntax analysis time.
This commit is contained in:
@@ -157,9 +157,9 @@ private:
|
||||
return node;
|
||||
}
|
||||
|
||||
TypeAST *makeBasicType(int token, BasicTypeAST::Category category)
|
||||
TypeAST *makeBasicType(int token)
|
||||
{
|
||||
TypeAST *type = new (_engine->pool()) BasicTypeAST(token, spell[token], category);
|
||||
TypeAST *type = new (_engine->pool()) BasicTypeAST(token, spell[token]);
|
||||
type->lineno = yyloc >= 0 ? (_tokens[yyloc].line + 1) : 0;
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user