diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 10:21:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 10:21:02 +0000 |
commit | e5afadda03c70f4fe6b8228a0b2478ce9eed4e01 (patch) | |
tree | 8169a4cba65c800ef2ae642339330280182abbb2 /common.mk | |
parent | 837d3aa882b80d63cea5ea0c184b83e806127f56 (diff) |
* common.mk (parse.h): removes line directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c $(YACC) -d $(YFLAGS) -o y.tab.c $(<:\\=/) sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new @$(MV) $@.new $@ - sed -e "/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h > $(@:.c=.h).new + sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new @$(IFCHANGE) $(@:.c=.h) $(@:.c=.h).new @$(RM) y.tab.c y.tab.h |