0c8de5b03c
Among all the modifications, this new byacc also solves a 14 year old bug [1] PR: bin/23254 [1] Submitted by: marka@nominum.com [1] MFC after: 3 weeks
24 lines
550 B
C
24 lines
550 B
C
#ifndef _varsyntax_calc1__defines_h_
|
|
#define _varsyntax_calc1__defines_h_
|
|
|
|
#define DREG 257
|
|
#define VREG 258
|
|
#define CONST 259
|
|
#define UMINUS 260
|
|
#ifdef YYSTYPE
|
|
#undef YYSTYPE_IS_DECLARED
|
|
#define YYSTYPE_IS_DECLARED 1
|
|
#endif
|
|
#ifndef YYSTYPE_IS_DECLARED
|
|
#define YYSTYPE_IS_DECLARED 1
|
|
typedef union
|
|
{
|
|
int ival; /* dreg & vreg array index values*/
|
|
double dval; /* floating point values*/
|
|
INTERVAL vval; /* interval values*/
|
|
} YYSTYPE;
|
|
#endif /* !YYSTYPE_IS_DECLARED */
|
|
extern YYSTYPE varsyntax_calc1_lval;
|
|
|
|
#endif /* _varsyntax_calc1__defines_h_ */
|