]> granicus.if.org Git - flex/commitdiff
better fix for #pragma problem
authorVern Paxson <vern@ee.lbl.gov>
Mon, 9 Jan 1995 21:02:17 +0000 (21:02 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Mon, 9 Jan 1995 21:02:17 +0000 (21:02 +0000)
flex.skl

index 7636042302b9bf7bbfb3c9eb0aa0ea9bd1030b19..98c3fbe66fb7caf92a60e398564528facde10172 100644 (file)
--- 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 <io.h>
 #include <stdlib.h>
 #define YY_USE_CONST
 #define YY_USE_PROTOS
 #endif
-#ifndef __TURBOC__
- close open comment above */
-#endif
 
 #ifndef YY_USE_CONST
 #ifndef const