glslang-zig/glslang/MachineIndependent/preprocessor
U-NVIDIA.COM\rjennings 9cd7ca26a2 PP: Don't report certain error about '#' when #if'd out
Don't report the following error when scanning inactive code (e.g. code inside #if 0):
"error: '#' : (#) can be preceded in its line only by spaces or horizontal tab"
Adds a variable to PpContext to say whether we're currently skipping over an inactive #if/#ifdef/#elif/#else, and don't report the error inside scanToken if true.

fixes 3704
2024-09-02 13:35:09 -04:00
..
Pp.cpp PP: Don't report certain error about '#' when #if'd out 2024-09-02 13:35:09 -04:00
PpAtom.cpp [lumped builds] Only define _CRT_SECURE_NO_WARNINGS if it’s not defined yet. 2017-05-10 16:52:50 +03:00
PpContext.cpp PP: Don't report certain error about '#' when #if'd out 2024-09-02 13:35:09 -04:00
PpContext.h PP: Don't report certain error about '#' when #if'd out 2024-09-02 13:35:09 -04:00
PpScanner.cpp Check for exponent overflow in float parser 2024-04-01 17:58:50 -04:00
PpTokens.cpp Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL 2023-07-28 11:49:10 -06:00
PpTokens.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00