disable escape sequences for #line and #error
This commit is contained in:
parent
f333272eb5
commit
13444545a9
5 changed files with 10 additions and 4 deletions
3
glslang/MachineIndependent/preprocessor/PpContext.cpp
Executable file → Normal file
3
glslang/MachineIndependent/preprocessor/PpContext.cpp
Executable file → Normal file
|
|
@ -87,7 +87,8 @@ namespace glslang {
|
|||
TPpContext::TPpContext(TParseContextBase& pc, const std::string& rootFileName, TShader::Includer& inclr) :
|
||||
preamble(0), strings(0), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false),
|
||||
rootFileName(rootFileName),
|
||||
currentSourceFile(rootFileName)
|
||||
currentSourceFile(rootFileName),
|
||||
disableEscapeSequences(false)
|
||||
{
|
||||
ifdepth = 0;
|
||||
for (elsetracker = 0; elsetracker < maxIfNesting; elsetracker++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue