This gives the error expected specifier-qualifier list before ETYPECode:typedef struct s { int* true; int* false; int* next; int quad; char place[5]; }ETYPE; typedef union { char id[10]; ETYPE eval; } YYSTYPE; extern YYSTYPE yylval;
and
gives the error: Field 'eval' has incomplete typeCode:typedef union { char id[10]; struct ETYPE eval; } YYSTYPE; extern YYSTYPE yylval;
Can someone give the correct syntax please?