Encapsulate warnings like errors. Add warning for missing #version.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22041 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
a622cf2dc5
commit
c59d0cd9e6
6 changed files with 55 additions and 45 deletions
|
|
@ -99,9 +99,11 @@ struct TParseContext {
|
|||
|
||||
void initializeExtensionBehavior();
|
||||
const char* getPreamble();
|
||||
|
||||
|
||||
void C_DECL error(TSourceLoc, const char *szReason, const char *szToken,
|
||||
const char *szExtraInfoFormat, ...);
|
||||
void C_DECL warn(TSourceLoc, const char *szReason, const char *szToken,
|
||||
const char *szExtraInfoFormat, ...);
|
||||
bool reservedErrorCheck(int line, const TString& identifier);
|
||||
|
||||
TIntermTyped* handleVariable(int line, TSymbol* symbol, TString* string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue