Removed declaration of yylval. It caused problems for everyone and should
be defined by the yacc used to build parse.y anyway.
This commit is contained in:
@@ -3,6 +3,8 @@ include Target.include
|
||||
include $(EPICS)/config/CONFIG_BASE
|
||||
|
||||
CMPLR = OLD
|
||||
#CMPLR = STRICT
|
||||
|
||||
YACC = $(EYACC)
|
||||
YACCOPT = -l -d
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user