PP, nonfunctional: Remove crufty bit-twiddling of tokens.
This commit is contained in:
parent
8e711b84bd
commit
b49bb2ca5c
7 changed files with 52 additions and 51 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue