#define YYBYACC 1
#line 2 "parser.y"
#include "string.h"
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__VISAGECPP__)
#include <io.h>
#endif
#include "wx/expr.h"
/* You may need to put /DLEX_SCANNER in your makefile
* if you're using LEX!
- Last change: JS 13 Jul 97 6:12 pm
*/
#ifdef LEX_SCANNER
/* int yyoutput(int); */
#define yywrap() 1
#endif
#else
-int yywrap() { return 1; }
+# if !(defined(__VISAGECPP__) && __IBMC__ >= 400)
+/* VA 4.0 thinks this is multiply defined (in lex_yy.c) */
+ int yywrap() { return 1; }
+# endif
#endif
#endif
#line 247 "y_tab.c"
#define YYACCEPT goto yyaccept
#define YYERROR goto yyerrlab
int
-yyparse()
+PROIO_yyparse()
{
register int yym, yyn, yystate;
#if YYDEBUG
register char *yys;
extern char *getenv();
- if (yys = getenv("YYDEBUG"))
+ yys = getenv("YYDEBUG");
+ if (yys)
{
yyn = *yys;
if (yyn >= '0' && yyn <= '9')
*yyssp = yystate = 0;
yyloop:
- if (yyn = yydefred[yystate]) goto yyreduce;
+ yyn = yydefred[yystate];
+ if (yyn != 0) goto yyreduce;
if (yychar < 0)
{
if ((yychar = yylex()) < 0) yychar = 0;