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

@ -232,6 +232,8 @@ int TPpContext::tStringInput::scan(TPpToken* ppToken)
switch (ch) {
default:
// Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
if (ch > PpAtomMaxSingle)
ch = PpAtomBadToken;
return ch;
case 'A': case 'B': case 'C': case 'D': case 'E':