glslang-zig/glslang
John Kessenich c777fc2c4c Scanning: 1) rationalize end-of-input everywhere, 2) prevent infinite loop at end-of-input, 3) use positive chars.
Fixes issue #25. (char 255 aliased to -1 and missing tests for end of input).

1) All layers of input scanning now share a single EndOfInput value.
This avoids translation of it across layers of encapsulation.

2) Some places looking for end of line were not stopping on EndOfInput.

3) Use of "char" for the input made char values > 127 be negative numbers.
This allowed for aliasing of 255 to -1, etc.  This is fixed by using
unsigned char.
2015-07-27 09:37:55 -06:00
..
GenericCodeGen glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
Include Consolidate all token length limits (1024), including one bad one (80) hardcoded on the stack (issue #40, issue #41). 2015-07-25 14:02:53 -06:00
MachineIndependent Scanning: 1) rationalize end-of-input everywhere, 2) prevent infinite loop at end-of-input, 3) use positive chars. 2015-07-27 09:37:55 -06:00
OSDependent include by relative path, so root doesn't need to be in the search path 2015-07-08 15:27:29 +02:00
Public Added a setStringsWithLengths() method to TShader. 2015-07-17 13:37:02 -04:00
CMakeLists.txt Linux build: fix case problem with new file. 2015-07-07 00:53:26 -06:00