--- capa/capa51/pProj/capaFormula.y 1999/09/28 21:26:21 1.1.1.1 +++ capa/capa51/pProj/capaFormula.y 2000/06/27 18:28:48 1.2 @@ -12,6 +12,10 @@ #include "capaParser.h" /* _symbol structure def */ #include "capaCommon.h" #include "capaFunction.h" +#ifdef YYSTYPE +#undef YYSTYPE +#endif +#define YYSTYPE Symbol_p #include "capaToken.h" #ifdef __hpux @@ -36,16 +40,12 @@ #define IDIV_op 5 #define NOT_DEFINED_op 9 -#ifdef YYSTYPE -#undef YYSTYPE -#endif -#define YYSTYPE Symbol_p /* =============================================================== */ extern int Func_idx; extern Symbol FuncStack[MAX_FUNC_NEST]; - +void fml_error(char *msg); double FormulaVal; int FormulaParseOK=1;