Fixes to scanning:
- do version checking for the line-continuation character - check for built-in names in #undef - bug fix for #elif after #else - do version checking for use of floating point suffixes (f, LF, etc.) git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24011 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
67c9f3a720
commit
69aa9c1b84
21 changed files with 210 additions and 59 deletions
|
|
@ -75,6 +75,8 @@ public:
|
|||
void C_DECL warn(TSourceLoc, const char *szReason, const char *szToken,
|
||||
const char *szExtraInfoFormat, ...);
|
||||
bool reservedErrorCheck(TSourceLoc, const TString&);
|
||||
void reservedPpErrorCheck(TSourceLoc, const char* name, const char* op);
|
||||
void lineContinuationCheck(TSourceLoc);
|
||||
bool builtInName(const TString&);
|
||||
|
||||
void handlePragma(const char **tokens, int numTokens);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue