[前][次][番号順一覧][スレッド一覧]

ruby-changes:8127

From: nobu <ko1@a...>
Date: Wed, 1 Oct 2008 19:21:57 +0900 (JST)
Subject: [ruby-changes:8127] Ruby:r19655 (trunk): * common.mk (parse.h): removes line directives.

nobu	2008-10-01 19:21:02 +0900 (Wed, 01 Oct 2008)

  New Revision: 19655

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19655

  Log:
    * common.mk (parse.h): removes line directives.

  Modified files:
    trunk/common.mk

Index: common.mk
===================================================================
--- common.mk	(revision 19654)
+++ common.mk	(revision 19655)
@@ -403,7 +403,7 @@
 	$(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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]