summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-01 10:21:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-01 10:21:02 +0000
commit215d9b8b78e73b049f44dc8afa473cd9b740f82e (patch)
tree8169a4cba65c800ef2ae642339330280182abbb2
parentb2248c514199d5f5eb22fdee7663ae3cef95a8c2 (diff)
downloadruby-215d9b8b78e73b049f44dc8afa473cd9b740f82e.tar.gz
ruby-215d9b8b78e73b049f44dc8afa473cd9b740f82e.tar.xz
ruby-215d9b8b78e73b049f44dc8afa473cd9b740f82e.zip
* common.mk (parse.h): removes line directives.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 29cf4ce23..46c8cf6c8 100644
--- a/common.mk
+++ b/common.mk
@@ -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