diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-19 18:48:29 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-19 18:48:29 +0000 |
| commit | 128b459e768c83a18fc7075f44c320b089893c46 (patch) | |
| tree | db69adc6e49ab76aba51a7cb4cf76f74f3784039 /ext/ripper | |
| parent | 9c049381fd55ff6e4ebec3728cd49c6163b8a12d (diff) | |
| download | ruby-128b459e768c83a18fc7075f44c320b089893c46.tar.gz ruby-128b459e768c83a18fc7075f44c320b089893c46.tar.xz ruby-128b459e768c83a18fc7075f44c320b089893c46.zip | |
* parse.y [ripper]: spaces before heredoc marker was lost.
* keywords: rb_reserved_word() should be defined only in ruby core.
* lex.c: sync with keywords.
* ext/ripper/ripper.rb.in (parse): fix typo.
* ext/ripper/lib/ripper.rb: sync with ripper.rb.in.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper')
| -rw-r--r-- | ext/ripper/lib/ripper.rb | 2 | ||||
| -rw-r--r-- | ext/ripper/ripper.rb.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ripper/lib/ripper.rb b/ext/ripper/lib/ripper.rb index 15a05aadd..38b907120 100644 --- a/ext/ripper/lib/ripper.rb +++ b/ext/ripper/lib/ripper.rb @@ -13,7 +13,7 @@ require 'ripper.so' class Ripper def Ripper.parse(str, *args) - new.parse(str, *args) + new(str, *args).parse end private diff --git a/ext/ripper/ripper.rb.in b/ext/ripper/ripper.rb.in index c6fa55429..fd155cb7b 100644 --- a/ext/ripper/ripper.rb.in +++ b/ext/ripper/ripper.rb.in @@ -13,7 +13,7 @@ require 'ripper.so' class Ripper def Ripper.parse(str, *args) - new.parse(str, *args) + new(str, *args).parse end private |
