lexer-tab.o and parser-tab.o require each other's headers

This commit is contained in:
Shea Levy
2014-02-18 17:31:30 +01:00
committed by Eelco Dolstra
parent 70a558e202
commit a7e70518b8
+4
View File
@@ -19,6 +19,10 @@ $(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
$(d)/lexer-tab.cc $(d)/lexer-tab.hh: $(d)/lexer.l
$(trace-gen) flex --outfile $(libexpr_DIR)/lexer-tab.cc --header-file=$(libexpr_DIR)/lexer-tab.hh $<
$(d)/lexer-tab.o: $(d)/lexer-tab.hh $(d)/parser-tab.hh
$(d)/parser-tab.o: $(d)/lexer-tab.hh $(d)/parser-tab.hh
clean-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh
dist-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh