summaryrefslogtreecommitdiffstats
path: root/lib/irb/ruby-lex.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-03 11:34:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-03 11:34:57 +0000
commit518d598521caa04911ed7901f451cd6277ccfb4a (patch)
tree16a63a9cf6c9e788c17a54c6a81c243ec8938dd2 /lib/irb/ruby-lex.rb
parenteda6be71eb9eb35f6f8650d888b3d161d8a8617a (diff)
downloadruby-518d598521caa04911ed7901f451cd6277ccfb4a.tar.gz
ruby-518d598521caa04911ed7901f451cd6277ccfb4a.tar.xz
ruby-518d598521caa04911ed7901f451cd6277ccfb4a.zip
* array.c (rb_ary_uniq_bang): do not push frozen string from hash
table. [ruby-dev:24695] * array.c (rb_ary_and): ditto. * array.c (rb_ary_or): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r--lib/irb/ruby-lex.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 5a1ede7e3..e25af3054 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -55,6 +55,9 @@ class RubyLex
@skip_space = false
@readed_auto_clean_up = false
@exception_on_syntax_error = true
+ @prompt = nil
+ @here_header = nil
+ @lex_state = nil
end
attr_accessor :skip_space