summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authorvern <vern>1995-01-09 12:41:06 +0000
committervern <vern>1995-01-09 12:41:06 +0000
commit3f49f6709786f35dbba447334cc067e6b980d105 (patch)
tree7e43fefb3fd42cc6a0e00dc223680e3624cc22d1 /flex.skl
parentf0d0222fa4673b904d1f1c4f001df6ba26a122bf (diff)
downloadflex-3f49f6709786f35dbba447334cc067e6b980d105.tar.gz
comment out Turbo C #pragma's
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl13
1 files changed, 10 insertions, 3 deletions
diff --git a/flex.skl b/flex.skl
index 7822056..11bdee1 100644
--- a/flex.skl
+++ b/flex.skl
@@ -1,7 +1,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $Header: /cvsroot/flex/flex/flex.skl,v 2.73 1995/01/09 12:13:38 vern Exp $
+ * $Header: /cvsroot/flex/flex/flex.skl,v 2.74 1995/01/09 12:41:06 vern Exp $
*/
#define FLEX_SCANNER
@@ -45,7 +45,12 @@ 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
@@ -54,7 +59,9 @@ class istream;
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
-
+#ifndef __TURBOC__
+ close open comment above */
+#endif
#ifndef YY_USE_CONST
#ifndef const