PP: Add missing atoms that effect -E mode.

When preprocessing only, some tokens were emitted as <bad token>.
This fixes them to preserve their original content.

This supplants PR #182, with a correction and test results.
This commit is contained in:
John Kessenich
2016-08-04 22:46:19 -06:00
parent cfc5fbb967
commit 9f9bad09b4
4 changed files with 43 additions and 4 deletions

View File

@@ -19,5 +19,12 @@ int main(){
gl_Position = vec4(1);
gl_Position = vec4(1, 2);
gl_Position = vec4(fn(3));
[]. ++ --
+ - * % / - ! ~
<< >> < > <= >=
== !=
& ^ | && ^^ || ? :
+= -= *= /= %= <<= >>= &= |= ^=
1.2 2E10 5u - 5 lf
}