Removed grammar.tab.h from the flex command to build lex._gst_parse_yy.c because this caused grammar.tab.h to be incl...

Original commit message from CVS:
Removed grammar.tab.h from the flex command to build lex._gst_parse_yy.c
because this caused grammar.tab.h to be included twice in the file (since
it is already included directly in parse.l via an #include statement).
Including this file twice was causing Forte to be unable to compile it.
This commit is contained in:
Brian Cameron 2003-12-15 18:40:13 +00:00
parent bdbfd1bebe
commit c6a18b92c2

View file

@ -22,7 +22,7 @@ grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c
lex._gst_parse_yy.c: parse.l grammar.tab.h
$(FLEX_PATH) -P_gst_parse_yy $^
$(FLEX_PATH) -P_gst_parse_yy parse.l
## this is so make install without a previous make can work, because
## this dir needs gstmarshal.h generated