summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1994-11-24 16:42:44 +0000
committerVern Paxson <vern@ee.lbl.gov>1994-11-24 16:42:44 +0000
commit8618b3545e8b4d0bb298f95104a5340db460bfb3 (patch)
treebeaab437b39e8dbf0840236e41c62c6287630b26 /parse.y
parent89dad6fe3a0e9f72a17d2e16bca197ffe681c932 (diff)
Brian Madsen's tweaks for Borland
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y9
1 files changed, 4 insertions, 5 deletions
diff --git a/parse.y b/parse.y
index 388b42f..54eb260 100644
--- a/parse.y
+++ b/parse.y
@@ -51,7 +51,11 @@
#ifdef __hpux
void *alloca ();
#else /* not __hpux */
+#ifdef __TURBOC__
+#include <malloc.h>
+#else
char *alloca ();
+#endif /* not __TURBOC__ */
#endif /* not __hpux */
#endif /* not _AIX */
#endif /* not HAVE_ALLOCA_H */
@@ -69,11 +73,6 @@ int trlcontxt, xcluflg, cclsorted, varlength, variable_trail_rule;
int *scon_stk;
int scon_stk_ptr;
-Char clower();
-char *copy_string();
-void build_eof_action();
-void yyerror();
-
static int madeany = false; /* whether we've made the '.' character class */
int previous_continued_action; /* whether the previous rule's action was '|' */