Home
last modified time | relevance | path

Searched refs:ppError (Results 1 – 8 of 8) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp103 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", ""); in CPPdefine()
124 parseContext.ppError(ppToken->loc, "bad argument", "#define", ""); in CPPdefine()
134 parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", ""); in CPPdefine()
144 parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", ""); in CPPdefine()
174 … parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define", in CPPdefine()
177 … parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define", in CPPdefine()
181 … parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define", in CPPdefine()
201 … parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define", in CPPdefine()
220 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#undef", ""); in CPPundef()
232 … parseContext.ppError(ppToken->loc, "can only be followed by a single macro name", "#undef", ""); in CPPundef()
[all …]
DPpScanner.cpp153 parseContext.ppError(ppToken->loc, "unexpected use of", "#", ""); in lFloatConst()
159 parseContext.ppError(ppToken->loc, "expected 'INF'", "#", ""); in lFloatConst()
228 parseContext.ppError(ppToken->loc, "bad character in float exponent", "", ""); in lFloatConst()
267 … parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", ""); in lFloatConst()
286 … parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", ""); in lFloatConst()
308 … parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", ""); in lFloatConst()
317 parseContext.ppError(ppToken->loc, "float literal too long", "", ""); in lFloatConst()
390 parseContext.ppError(ppToken->loc, "unexpected", "\'", ""); in characterLiteral()
418 parseContext.ppError(ppToken->loc, "octal and hex sequences not supported", "\\", ""); in characterLiteral()
436 parseContext.ppError(ppToken->loc, "expected", "\'", ""); in characterLiteral()
[all …]
DPpContext.h386 …parseContext.ppError(lastLineTokenLocs[curPos], "(#) can be preceded in its line only by spaces or… in scanToken()
/third_party/glslang/glslang/MachineIndependent/
DparseVersions.h133 virtual void C_DECL ppError(const TSourceLoc&, const char* szReason, const char* szToken,
DVersions.cpp880 ppError(loc, "required extension not requested:", featureDesc, extensions[0]); in ppRequireExtensions()
882ppError(loc, "required extension not requested:", featureDesc, "Possible extensions include:"); in ppRequireExtensions()
DParseContextBase.cpp98 void C_DECL TParseContextBase::ppError(const TSourceLoc& loc, const char* szReason, const char* szT… in ppError() function in glslang::TParseContextBase
DParseHelper.h111 virtual void C_DECL ppError(const TSourceLoc&, const char* szReason, const char* szToken,
DParseHelper.cpp3288 ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op, identifier); in reservedPpErrorCheck()
3293 ppError(loc, "\"defined\" can't be (un)defined:", op, identifier); in reservedPpErrorCheck()
3300 ppError(loc, "predefined names can't be (un)defined:", op, identifier); in reservedPpErrorCheck()
3303ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300… in reservedPpErrorCheck()