scc

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

commit d03ec63dc2fcd2583d3f13bf5dbe19b78fe85a47
parent 7e1565493b72f8aa6ab0270cd497a0e359374c2e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 27 Oct 2022 13:19:53 +0200

cc1: Avoid inline comments

They break the tab-indentation, space-alignment rule.

Diffstat:
Msrc/cmd/cc/cc1/cpp.c | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/cmd/cc/cc1/cpp.c b/src/cmd/cc/cc1/cpp.c @@ -924,9 +924,13 @@ cpp(void) DBG("CPP %s", yytext); - pushctx(); /* create a new context to avoid polish */ - (*bp->fun)(); /* the current context, and to get all */ - popctx(); /* the symbols freed at the end */ + /* + * create a new context to avoid polish the current context, + * and to get all the symbols freed at the end + */ + pushctx(); + (*bp->fun)(); + popctx(); /* * #include changes the content of input->line, so the correctness