summaryrefslogtreecommitdiff
path: root/ext/ripper/lib/ripper.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-20 05:40:23 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-20 05:40:23 +0000
commit144339d4bce9a8e91d44ee9942dc31d7fd27c239 (patch)
treec3ea3b92d704c3b0be7514c84fec0c032eeb8198 /ext/ripper/lib/ripper.rb
parent9f18c235727fc3875b4423bd1ad7eba69f9520e9 (diff)
* parse.y [ripper]: adjust lineno and columns for multi-line strings.
* parse.y [ripper]: delay heredocument events until seeing end-of-line. * parse.y [ripper]: event on__heredoc_contentn -> on__tstring_content. * ext/ripper/eventids2.c: ditto. * ext/ripper/lib/ripper.rb: sync with eventids2.c. * test/ripper/test_scanner_events.rb: test it. * ext/ripper/tools/generate-ripper_rb.rb: show basename of input. * ext/ripper/Makefile.dev: support objdir build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/lib/ripper.rb')
-rw-r--r--ext/ripper/lib/ripper.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/ripper/lib/ripper.rb b/ext/ripper/lib/ripper.rb
index 16db062..c0715de 100644
--- a/ext/ripper/lib/ripper.rb
+++ b/ext/ripper/lib/ripper.rb
@@ -1,5 +1,5 @@
#
-# This file is automatically generated from /home/aamine/c/ruby/ext/ripper/ripper.rb.in and parse.y.
+# This file is automatically generated from ripper.rb.in and parse.y.
# DO NOT MODIFY!!!!!!
#
#
@@ -165,7 +165,6 @@ class Ripper
:float => 1,
:gvar => 1,
:heredoc_beg => 1,
- :heredoc_content => 1,
:heredoc_end => 1,
:ident => 1,
:ignored_nl => 1,
@@ -774,10 +773,6 @@ class Ripper
token
end
- def on__heredoc_content(token)
- token
- end
-
def on__heredoc_end(token)
token
end