This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
glslang
Watch
1
Star
0
Fork
0
You've already forked glslang
mirror of
https://github.com/KhronosGroup/glslang
synced
2024-11-09 12:00:05 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e611e99037
glslang
/
Test
/
cppBad.vert
6 lines
63 B
GLSL
Raw
Normal View
History
Unescape
Escape
PP: Fix #1694: Handle badly formed argument substitution. Also added a warning for no space after a macro name.
2019-02-11 10:05:00 +00:00
#define n#0#
#define m #0#
PP: Fix issue #408: # as last character in macro. This would look ahead for a second #, for token pasting, and if not found, backup one token. This is fine, unless at the end of line, which would backup the #, rather than the look ahead.
2016-07-30 18:38:17 +00:00
#if m
PP: don't give errors on some tokens under #if 0 (or similar). Fixes #1295. Tokens that are accepted by any version of HLSL or GLSL should be allowed when #ifdef'd off, such that errors are not reported.
2018-03-19 06:43:18 +00:00
#endif
PP: Fix issue #407; handle empty identifier. The sequence #define m() int m" creates a token of no length (a string of 0 size). Protect against a string of 0 size as well as the existing protect against a null string.
2016-07-30 19:39:52 +00:00
#define n()
int
n
"
Reference in New Issue
Copy Permalink