From 2468ee6d34bf2991ebdb35cbaf257c760360f9c9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 2 May 1988 15:37:13 +0000 Subject: [PATCH] did not compile with NOPP defined --- lang/cem/cemcom/Parameters | 12 ++++++------ lang/cem/cemcom/input.c | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lang/cem/cemcom/Parameters b/lang/cem/cemcom/Parameters index 9dd95e066..483891f11 100644 --- a/lang/cem/cemcom/Parameters +++ b/lang/cem/cemcom/Parameters @@ -74,15 +74,15 @@ !File: dataflow.h -#define DATAFLOW 1 /* produce some compile-time xref */ +#undef DATAFLOW 1 /* produce some compile-time xref */ !File: debug.h -#define DEBUG 1 /* perform various self-tests */ +#undef DEBUG 1 /* perform various self-tests */ !File: use_tmp.h -#define USE_TMP 1 /* collect exa, exp, ina and inp commands +#undef USE_TMP 1 /* collect exa, exp, ina and inp commands and let them precede the rest of the generated compact code */ @@ -97,11 +97,11 @@ !File: inputtype.h -#define INP_READ_IN_ONE 1 /* read input file in one */ +#undef INP_READ_IN_ONE 1 /* read input file in one */ !File: nopp.h -#undef NOPP 1 /* if NOT defined, use built-int preprocessor */ +#define NOPP 1 /* if NOT defined, use built-int preprocessor */ !File: nobitfield.h @@ -122,7 +122,7 @@ !File: noRoption.h -#undef NOROPTION 1 /* if NOT defined, R option is implemented */ +#define NOROPTION 1 /* if NOT defined, R option is implemented */ !File: nocross.h diff --git a/lang/cem/cemcom/input.c b/lang/cem/cemcom/input.c index f3154bd7c..bf538b9e5 100644 --- a/lang/cem/cemcom/input.c +++ b/lang/cem/cemcom/input.c @@ -58,7 +58,9 @@ AtEoIF() if (nestlevel != nestlow) lexwarning("missing #endif"); else #endif NOPP - if (NoUnstack) lexwarning("unexpected EOF"); + if (NoUnstack) lexerror("unexpected EOF"); +#ifndef NOPP nestlevel = nestlow; +#endif return 0; } -- 2.34.1