glslang-zig/glslang/MachineIndependent/preprocessor
Lei Zhang 5011fbebc3 Extend the syntax of #line and __FILE__ to support filename strings.
According to the GLSL spec, the second parameter to #line should be
an integer source string number and __FILE__ will be substituted
with the integer source string number currently processed. This
patch extends the syntax of #line and __FILE__. Now #line accepts
as the second parameter a filename string quoted by double quotation
marks. And if such a #line is set, __FILE__ will be substituted with
the currently set filename string. The implementation is done via
introducing a new extension GL_GOOGLE_cpp_style_line_directive using
the extension framework.

The purpose is to support cpp-style #line directives, which is
required by #include.
2015-07-27 13:07:52 -04:00
..
Makefile Check in a much improved submitted set of makefiles for Linux builds. This eliminates dependencies on system headers, and generally simplifies the makefiles. 2014-02-19 01:00:58 +00:00
Pp.cpp Extend the syntax of #line and __FILE__ to support filename strings. 2015-07-27 13:07:52 -04:00
PpAtom.cpp 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
PpContext.cpp Preprocessor: 1) Rationalize the "fixed atom" scheme, 2) remove redundant lookups when the text is already available. 2015-07-19 22:59:24 -06:00
PpContext.h 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
PpMemory.cpp glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability). 2015-05-18 01:59:45 +00:00
PpScanner.cpp 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
PpSymbols.cpp glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability). 2015-05-18 01:59:45 +00:00
PpTokens.cpp 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
PpTokens.h Preprocessor: 1) Rationalize the "fixed atom" scheme, 2) remove redundant lookups when the text is already available. 2015-07-19 22:59:24 -06:00