PP, nonfunctional: Remove crufty bit-twiddling of tokens.

This commit is contained in:
John Kessenich 2017-02-10 12:56:05 -07:00
parent 8e711b84bd
commit b49bb2ca5c
7 changed files with 52 additions and 51 deletions

View file

@ -82,7 +82,11 @@ namespace glslang {
// Multi-character tokens
enum EFixedAtoms {
PpAtomMaxSingle = 256, // single character tokens get their own char value as their token, skip them
// single character tokens get their own char value as their token; start here for multi-character tokens
PpAtomMaxSingle = 127,
// replace bad character tokens with this, to avoid accidental aliasing with the below
PpAtomBadToken,
// Operators