Fix several issues in the preprocessor:
- macro expansion of hexidecimal numbers - give errors instead of warnings/silence on extra tokens after #endif, #else, etc. - give errors on reserved macro name use, reuse of argument, and redefinition with different whitespace presence - detect and give error for all cases of #elif and #else after #else git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23982 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
cfe3ba5a18
commit
4d6570a1b3
14 changed files with 403 additions and 339 deletions
|
|
@ -99,7 +99,6 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#define CPP_OR_OP 276
|
||||
#define CPP_INC_OP 277
|
||||
#define CPP_STRCONSTANT 278
|
||||
#define CPP_TYPEIDENTIFIER 279
|
||||
#define CPP_RIGHT_ASSIGN 280
|
||||
#define CPP_LEFT_ASSIGN 281
|
||||
#define CPP_AND_ASSIGN 282
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue