From ec53775916c89b4fb767f7f97b0ea758f85dcc3b Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Sat, 3 Dec 1994 20:16:26 +0000 Subject: [PATCH] undid YY_UNIX_NEWLINE --- flex.skl | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/flex.skl b/flex.skl index 6bb19eb..1d7b4ac 100644 --- a/flex.skl +++ b/flex.skl @@ -53,12 +53,6 @@ class istream; #define YY_USE_PROTOS #endif -/* Take care of end-of-line incompatibilities. We do this by defining - * YY_UNIX_NEWLINE iff '\n' is '\012'. - */ -#if '\n' == '\012' -#define YY_UNIX_NEWLINE -#endif #ifndef YY_USE_CONST #ifndef const @@ -80,17 +74,8 @@ class istream; * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. - * - * It's here that we take care of systems on which '\n' is some value - * other than '\012'. */ -#ifdef YY_UNIX_NEWLINE #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) -#else -#define YY_SC_TO_UI(c) \ - (c == '\n' ? (unsigned int) '\012' : \ - ((unsigned int) (unsigned char) c)) -#endif /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less -- 2.40.0