Preprocessor fixes:
- Correctly handle non-directive lines starting with "#" - Correctly ignore unrecognized #pragma - Partial fix for new lines in the middle of macro invocation git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24266 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
3591813a8b
commit
98434bed00
7 changed files with 192 additions and 128 deletions
|
|
@ -79,7 +79,7 @@ public:
|
|||
void lineContinuationCheck(TSourceLoc);
|
||||
bool builtInName(const TString&);
|
||||
|
||||
void handlePragma(const char **tokens, int numTokens);
|
||||
void handlePragma(TSourceLoc, const TVector<TString>&);
|
||||
TIntermTyped* handleVariable(TSourceLoc, TSymbol* symbol, TString* string);
|
||||
TIntermTyped* handleBracketDereference(TSourceLoc, TIntermTyped* base, TIntermTyped* index);
|
||||
void checkIndex(TSourceLoc, const TType&, int& index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue