From: Vern Paxson Date: Mon, 9 Jan 1995 21:02:17 +0000 (+0000) Subject: better fix for #pragma problem X-Git-Tag: flex-2-5-5b~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb4fb9b3720e7e67f5bc5eb958e3e63b053a819c;p=flex better fix for #pragma problem --- diff --git a/flex.skl b/flex.skl index 7636042..98c3fbe 100644 --- a/flex.skl +++ b/flex.skl @@ -45,23 +45,14 @@ class istream; #endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifndef __TURBOC__ -/* Some C preprocessors barf when they see the following #pragma's, - * even though __TURBOC__ isn't defined so they should just skip them. - * So we comment them out by leaving this comment - open -#endif #ifdef __TURBOC__ -#pragma warn -rch -#pragma warn -use + #pragma warn -rch + #pragma warn -use #include #include #define YY_USE_CONST #define YY_USE_PROTOS #endif -#ifndef __TURBOC__ - close open comment above */ -#endif #ifndef YY_USE_CONST #ifndef const