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.
This commit is contained in:
parent
7208473c69
commit
11e1a073f3
4 changed files with 11 additions and 4 deletions
|
|
@ -2,5 +2,5 @@
|
|||
// For the version, it uses the latest git tag followed by the number of commits.
|
||||
// For the date, it uses the current date (when then script is run).
|
||||
|
||||
#define GLSLANG_REVISION "SPIRV99.1373"
|
||||
#define GLSLANG_REVISION "SPIRV99.1374"
|
||||
#define GLSLANG_DATE "30-Jul-2016"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue