commit e3c35eb76e3151c9d6eed88bf288cbf109d21ffd parent 8797e25efdcf8ae086bd1f0d3b06f7f0d7e8cb77 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Thu, 28 May 2015 11:48:28 +0200 Fix comment handling Comments must be substitud by spaces, not by newlines, because former case will break preprocessor directives Diffstat:
M | cc1/lex.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc1/lex.c b/cc1/lex.c @@ -218,7 +218,7 @@ readline(void) c = '/'; } else { comment(c); - break; + c = ' '; } }