Move the complex pieces of C++ code from glslang.y to ParseHelper.cpp. Updated some tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22846 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
d46b31fdc5
commit
23bdb29eac
6 changed files with 557 additions and 464 deletions
|
|
@ -122,6 +122,12 @@ public:
|
|||
bool reservedErrorCheck(TSourceLoc, const TString& identifier);
|
||||
|
||||
TIntermTyped* handleVariable(TSourceLoc, TSymbol* symbol, TString* string);
|
||||
TIntermTyped* handleBracketDereference(TSourceLoc, TIntermTyped* base, TIntermTyped* index);
|
||||
TIntermTyped* handleDotDereference(TSourceLoc, TIntermTyped* base, TString& field);
|
||||
TIntermAggregate* handleFunctionPrototype(TSourceLoc, TFunction&);
|
||||
TIntermTyped* handleFunctionCall(TSourceLoc, TFunction*, TIntermNode*, TIntermAggregate*);
|
||||
TFunction* handleConstructorCall(TSourceLoc, TPublicType&);
|
||||
|
||||
bool parseVectorFields(TSourceLoc, const TString&, int vecSize, TVectorFields&);
|
||||
void assignError(TSourceLoc, const char* op, TString left, TString right);
|
||||
void unaryOpError(TSourceLoc, const char* op, TString operand);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue