From: ceriel Date: Fri, 9 Aug 1991 13:57:13 +0000 (+0000) Subject: If NOPP is defined, do not do trigraph translation; cpp does it X-Git-Tag: release-5-5~1074 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b503d85d2354d4757c5c233cc87932bd96509968;p=ack.git If NOPP is defined, do not do trigraph translation; cpp does it --- diff --git a/lang/cem/cemcom.ansi/LLlex.c b/lang/cem/cemcom.ansi/LLlex.c index 081ffe125..85c2861ee 100644 --- a/lang/cem/cemcom.ansi/LLlex.c +++ b/lang/cem/cemcom.ansi/LLlex.c @@ -640,9 +640,12 @@ GetChar() */ register int ch; +#ifndef NOPP again: +#endif LoadChar(ch); +#ifndef NOPP /* possible trigraph sequence */ if (ch == '?') ch = trigraph(); @@ -657,10 +660,11 @@ again: PushBack(); ch = '\\'; } +#endif return(LexSave = ch); } - +#ifndef NOPP int trigraph() { @@ -703,6 +707,7 @@ trigraph() PushBack(); return('?'); } +#endif /* strflt2tok only checks the syntax of the floating-point number and * selects the right type for the number.