From 70373e2e549d028fe28a6d2303903329e8490c49 Mon Sep 17 00:00:00 2001 From: aamine Date: Mon, 19 Sep 2005 06:12:35 +0000 Subject: [PATCH] * ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/ripper/depend | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2629b354bf..58c8474859 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 19 15:12:15 2005 Minero Aoki + + * ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462] + Mon Sep 19 14:49:19 2005 Minero Aoki * ext/ripper/eventids2.c: add prefix `t' to lambda related lexer diff --git a/ext/ripper/depend b/ext/ripper/depend index ee1d2fd325..2f5cc9f3ea 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -1,7 +1,6 @@ .SUFFIXES: .y -common: src rb -src: ripper.c eventids1.c -rb: $(srcdir)/lib/ripper/core.rb +c: ripper.c eventids1.c +dev: c rb ripper.o: ripper.c $(hdrdir)/lex.c eventids1.c $(srcdir)/eventids2.c @@ -20,13 +19,16 @@ ids1: $(srcdir)/tools/list-parse-event-ids.rb $(hdrdir)/parse.y ids2: $(srcdir)/tools/list-scan-event-ids.rb $(srcdir)/eventids2.c $(RUBY) $(srcdir)/tools/list-scan-event-ids.rb -a $(srcdir)/eventids2.c > $@ -$(srcdir)/lib/ripper/core.rb: $(srcdir)/lib/ripper/core.rb.in ids1 ids2 $(srcdir)/tools/generate-ripper_rb.rb - $(RUBY) $(srcdir)/tools/generate-ripper_rb.rb $@.in ids1 ids2 > $@ - # # Entries for only ripper developpers: DO NOT USE # +# [WARNING] +# Never make core.rb automatically; it causes line terminator problem. +# See [ruby-dev:26462] +rb: $(srcdir)/lib/ripper/core.rb.in ids1 ids2 $(srcdir)/tools/generate-ripper_rb.rb + $(RUBY) $(srcdir)/tools/generate-ripper_rb.rb $(srcdir)/lib/ripper/core.rb.in ids1 ids2 > $(srcdir)/lib/ripper/core.rb + test: $(RUBY) test/check-event-arity.rb $(hdrdir)/parse.y sh test/check-event-coverage.sh