From 35aba51c7f758871fc871c898a9572759e9c673c Mon Sep 17 00:00:00 2001 From: John Winans Date: Mon, 6 Mar 1995 17:15:11 +0000 Subject: [PATCH] Removed declaration of yylval. It caused problems for everyone and should be defined by the yacc used to build parse.y anyway. --- src/toolsComm/flex/Makefile.Unix | 2 ++ src/toolsComm/flex/flexdef.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/toolsComm/flex/Makefile.Unix b/src/toolsComm/flex/Makefile.Unix index 6f7c527ef..3ad7c3441 100644 --- a/src/toolsComm/flex/Makefile.Unix +++ b/src/toolsComm/flex/Makefile.Unix @@ -3,6 +3,8 @@ include Target.include include $(EPICS)/config/CONFIG_BASE CMPLR = OLD +#CMPLR = STRICT + YACC = $(EYACC) YACCOPT = -l -d diff --git a/src/toolsComm/flex/flexdef.h b/src/toolsComm/flex/flexdef.h index 19cf177d4..e6345fba7 100644 --- a/src/toolsComm/flex/flexdef.h +++ b/src/toolsComm/flex/flexdef.h @@ -659,7 +659,7 @@ void *allocate_array(), *reallocate_array(); #define reallocate_character_array(array,size) \ (Char *) reallocate_array( (void *) array, size, sizeof( Char ) ) - +#if 0 /* JRW this might couse truuble... but not for IOC usage */ /* used to communicate between scanner and parser. The type should really * be YYSTYPE, but we can't easily get our hands on it. */ @@ -668,6 +668,7 @@ extern long yylval; #else extern int yylval; #endif +#endif /* external functions that are cross-referenced among the flex source files */