mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-31 17:50:26 +08:00
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:
parent
13fabc4036
commit
d3f44747f1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user