diff options
Diffstat (limited to 'src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp')
-rwxr-xr-x[-rw-r--r--] | src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp b/src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp index ac9d8ac..7ed5870 100644..100755 --- a/src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp +++ b/src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp @@ -116,6 +116,7 @@ int TPpContext::TokenStream::getToken(TParseContextBase& parseContext, TPpToken int atom = stream[currentPos++].get(*ppToken); ppToken->loc = parseContext.getCurrentLoc(); +#ifndef GLSLANG_WEB // Check for ##, unless the current # is the last character if (atom == '#') { if (peekToken('#')) { @@ -125,6 +126,7 @@ int TPpContext::TokenStream::getToken(TParseContextBase& parseContext, TPpToken atom = PpAtomPaste; } } +#endif return atom; } |