Semantic checks for .length(), switch/case/default, and multidimensional arrays.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22175 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
ef84d10e4c
commit
e369bfccfe
9 changed files with 144 additions and 71 deletions
|
|
@ -113,13 +113,16 @@ struct TParseContext {
|
|||
void binaryOpError(int line, const char* op, TString left, TString right);
|
||||
void variableCheck(TIntermTyped*& nodePtr);
|
||||
bool lValueErrorCheck(int line, const char* op, TIntermTyped*);
|
||||
void constCheck(TIntermTyped* node);
|
||||
void constCheck(TIntermTyped* node, const char* token);
|
||||
void integerCheck(TIntermTyped* node, const char* token);
|
||||
void globalCheck(int line, bool global, const char* token);
|
||||
bool constructorError(int line, TIntermNode*, TFunction&, TOperator, TType&);
|
||||
void arraySizeCheck(int line, TIntermTyped* expr, int& size);
|
||||
bool arrayQualifierError(int line, const TPublicType&);
|
||||
void arraySizeRequiredCheck(int line, int& size);
|
||||
void arrayDimError(int line);
|
||||
void arrayDimCheck(int line, TArraySizes sizes1, TArraySizes sizes2);
|
||||
void arrayDimCheck(int line, const TType*, TArraySizes);
|
||||
void arrayCheck(int line, TString& identifier, const TPublicType&, TVariable*& variable);
|
||||
bool insertBuiltInArrayAtGlobalLevel();
|
||||
bool voidErrorCheck(int, const TString&, const TPublicType&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue