diff --git a/src/cpp.c b/src/cpp.c index 93db7e9..54ec1ee 100644 --- a/src/cpp.c +++ b/src/cpp.c @@ -988,8 +988,8 @@ for (;;) { } else if (np == pragmaloc) { /* pragma */ while (*inp != '\n') /* pass text */ p = cotoken(p); -#ifdef EXIT_ON_ERROR } else if (np == errorloc) { /* error */ +#ifdef EXIT_ON_ERROR if (trulvl > 0) { char ebuf[BUFFERSIZ]; @@ -1008,6 +1008,9 @@ for (;;) { pperror(ebuf); exit(exfail); } +#else + while (*inp != '\n') /* pass text */ + p = cotoken(p); #endif } else if (np==lneloc) {/* line */ if (flslvl==0 && pflag==0) {