From da826e6fae8c37134c8764d58ccdf379c5edd4a6 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Nov 2004 01:20:51 +0000 Subject: * gc.c (gc_mark): enable GC stack checking. * string.c (str_gsub): lock strings temporarily. [ruby-dev:24687] * ext/socket/socket.c (s_recvfrom): tmplock input buffer. [ruby-dev:24705] * 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. * ext/enumerator/enumerator.c (each_cons_i): pass copy of an internal consequent array. [ruby-talk:118691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/ruby-lex.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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 -- cgit