try avoid cicular includes with the bison shit

This commit is contained in:
Dana Jansens 2003-04-21 00:45:08 +00:00
parent 573aaf7ede
commit d22e9c9c1d
2 changed files with 4 additions and 0 deletions

View file

@ -2,7 +2,9 @@
#define __parse_h
#include <glib.h>
#ifndef NO_TAB_H
#include "parse.tab.h"
#endif
typedef enum {
TOKEN_REAL = REAL,

View file

@ -17,7 +17,9 @@
}
%{
#define NO_TAB_H
#include "parse.h"
#undef NO_TAB_H
extern int yylex();
extern int yyparse();