mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/ripper/Makefile.dev: removed.
* ext/ripper/ripper.rb.in: moved to lib/ripper/core.rb.in. * ext/ripper/lib/ripper/core.rb: new file. * ext/ripper/lib/ripper/core.rb.in: new file. * ext/ripper/tools/generate-ripper_rb.rb: change comment. * test/ripper/*.rb: on_scan removed. * test/ripper/*.rb: event name changed: on__ -> on_. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bf189b88d3
commit
0c9d76889a
13 changed files with 1365 additions and 1352 deletions
|
|
@ -14,3 +14,22 @@ 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 > $@
|
||||
|
||||
rb: $(srcdir)/lib/ripper/core.rb
|
||||
$(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 $(srcdir)/lib/ripper/core.rb.in ids1 ids2 > $@
|
||||
|
||||
#
|
||||
# Entries for only ripper developpers: DO NOT USE
|
||||
#
|
||||
|
||||
test:
|
||||
$(RUBY) test/check-event-arity.rb $(hdrdir)/parse.y
|
||||
sh test/check-event-coverage.sh
|
||||
$(RUBY) test/check-scanner-event-coverage.rb
|
||||
$(RUBY) test/validate.rb > /dev/null
|
||||
@echo OK
|
||||
|
||||
preproc: ripper.E
|
||||
ripper.E: ripper.c
|
||||
$(CC) -E $(CPPFLAGS) ripper.c | $(RUBY) $(srcdir)/tools/strip.rb > $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue