#include <stdlib.h>
#include <dirent.h>
/* Local */
-//#include "parser.tab.h"
+#include "parser.tab.h"
#ifndef DE_STACKSIZE
#define DE_STACKSIZE 1024
#endif
static inline
int dredge_current_depth(void);
extern //bison
-int yylval;
+YYSTYPE yylval;
static
struct tok
{ int lval;
{ if (TK_EMPTY)
{ TK_INIT();
if (scanner() == 0)
- { yylval = 0;
+ { yylval.val = 0;
return 0;
}
}
- yylval = TK_POPI();
+ yylval.val = TK_POPI();
return TK_POPI();
}