A couple of people have reported that

the multiple definitions of
    typedef struct DCEparsestate
near lines 10 and 42 causes compiler
problems with some versions of gcc.
remove the second typedef.
This commit is contained in:
Dennis Heimbigner 2016-07-11 14:11:20 -06:00
parent 13fabc4036
commit d3f44747f1

View File

@ -40,12 +40,12 @@ typedef struct DCElexstate {
} DCElexstate;
/*! Specifies DCEparsestate. */
typedef struct DCEparsestate {
struct DCEparsestate {
DCEconstraint* constraint;
char errorbuf[1024];
int errorcode;
DCElexstate* lexstate;
} DCEparsestate;
};
/* Define a generic object carrier; this serves
essentially the same role as the typical bison %union