scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 58a4f1584eb24dd4204d8b4d87b06a11acede509
parent dcde10bc7be69fa1c7e497f67754f5323649f5cf
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 28 Jan 2026 15:12:29 +0100

cc1: Remove macro tokens from the tokenizer

The macro definitions are currently handled by the preprocessor
itself which means that the tokenizer should not see these tokens
anymore in a valid sequence, and it means that we can remove it.

Diffstat:
Msrc/cmd/scc-cc/cc1/lex.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/cmd/scc-cc/cc1/lex.c b/src/cmd/scc-cc/cc1/lex.c @@ -835,9 +835,6 @@ operator(void) case '!': t = follow('=', NE, '!'); break; - case '#': - t = follow('#', CONCAT, STRINGIZE); - break; case '-': t = minus(); break;