From 04bdcf84328eec8e144b3b9e0a1ee4407d71d594 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 8 Oct 2005 09:58:25 +0000 Subject: * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on heap. [ruby-list:41199] * parse.y (ripper_initialize): use rb_respond_to(). * ext/ripper/depend (check): get rid of re-generating ripper.y always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/ripper/depend | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ext/ripper/depend') diff --git a/ext/ripper/depend b/ext/ripper/depend index c47f210186..4f5c822308 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -1,15 +1,18 @@ GEN = $(srcdir)/tools/generate.rb SRC1 = $(hdrdir)/parse.y SRC2 = $(srcdir)/eventids2.c +BISON = bison src: ripper.c eventids1.c eventids2table.c ripper.o: ripper.c $(hdrdir)/lex.c eventids1.c $(srcdir)/eventids2.c eventids2table.c .y.c: - bison -t -v -o$@ $< + $(BISON) -t -v -o$@ $< -ripper.y: check $(srcdir)/tools/preproc.rb $(hdrdir)/parse.y +all static: check + +ripper.y: $(srcdir)/tools/preproc.rb $(hdrdir)/parse.y $(RUBY) $(srcdir)/tools/preproc.rb $(hdrdir)/parse.y --output=$@ check: $(GEN) $(SRC1) $(SRC2) -- cgit v1.2.3