PP: Fix #1104: Missing check for #if overflow.
Also, rationalized this to generally make it safer and more readable. It could use a more modern approach, at some point...
Showing
- Test/baseResults/cppDeepNest.frag.out 20 additions, 0 deletionsTest/baseResults/cppDeepNest.frag.out
- Test/cppDeepNest.frag 117 additions, 0 deletionsTest/cppDeepNest.frag
- glslang/MachineIndependent/preprocessor/Pp.cpp 25 additions, 16 deletionsglslang/MachineIndependent/preprocessor/Pp.cpp
- glslang/MachineIndependent/preprocessor/PpContext.h 1 addition, 1 deletionglslang/MachineIndependent/preprocessor/PpContext.h
- gtests/AST.FromFile.cpp 1 addition, 0 deletionsgtests/AST.FromFile.cpp
Loading
Please register or sign in to comment