try avoid cicular includes with the bison shit
This commit is contained in:
parent
573aaf7ede
commit
d22e9c9c1d
2 changed files with 4 additions and 0 deletions
|
@ -2,7 +2,9 @@
|
|||
#define __parse_h
|
||||
|
||||
#include <glib.h>
|
||||
#ifndef NO_TAB_H
|
||||
#include "parse.tab.h"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
TOKEN_REAL = REAL,
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
}
|
||||
|
||||
%{
|
||||
#define NO_TAB_H
|
||||
#include "parse.h"
|
||||
#undef NO_TAB_H
|
||||
|
||||
extern int yylex();
|
||||
extern int yyparse();
|
||||
|
|
Loading…
Reference in a new issue