"ascend-grammar.h" is generated by Bison with a copy of the definition

of the YYSTYPE structure in "ascend-grammar.c"; the intent is that other
files include "ascend-grammar.h" if they need that structure, but that
"ascend-grammar.c" not itself include "ascend-grammar.h".  If it *does*
include it, the compiler complains about YYSTYPE being redefined (even
though the two structures are identical).

svn path=/trunk/; revision=15478
This commit is contained in:
Guy Harris 2005-08-20 17:49:58 +00:00
parent bb5c2b1f7a
commit 07f44e2a7f
1 changed files with 0 additions and 2 deletions

View File

@ -142,8 +142,6 @@ XMIT-Max7:20: (task "_brouterControlTask" at 0xb094ac20, time: 1481.51) 20 octet
#include "ascend-int.h"
#include "file_wrappers.h"
#include "ascend-grammar.h"
#define NO_USER "<none>"
int yyparse(void);