mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-30 15:13:45 +00:00
11e1a073f3
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.
5 lines
42 B
GLSL
5 lines
42 B
GLSL
#define m#0#
|
|
#if m
|
|
|
|
#define n()
|
|
int n" |