scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 8797e25efdcf8ae086bd1f0d3b06f7f0d7e8cb77
parent de0eaa156f9c775d23b63c5caf73ef9d54782bd6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 28 May 2015 11:42:31 +0200

Do not return from usererr

The standard says that the compilation process must stop after
an #error directive.

Diffstat:
Mcc1/cpp.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -525,6 +525,7 @@ usererr(char *s) if (cppoff) return; printerr("#error %s", s); + exit(-1); } static void