shithub: scc

Download patch

ref: e3c35eb76e3151c9d6eed88bf288cbf109d21ffd
parent: 8797e25efdcf8ae086bd1f0d3b06f7f0d7e8cb77
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 28 07:48:28 EDT 2015

Fix comment handling

Comments must be substitud by spaces, not by newlines,
because former case will break preprocessor directives

--- a/cc1/lex.c
+++ b/cc1/lex.c
@@ -218,7 +218,7 @@
 			c = '/';
 		} else {
 			comment(c);
-			break;
+			c = ' ';
 		}
 	}