Project

General

Profile

Bug #3514 » irb.patch

runpaint (Run Paint Run Run), 07/02/2010 04:38 AM

View differences:

lib/irb/ruby-lex.rb
tk_c = TkLPAREN
end
@indent_stack.push tk_c
tk = Token(tk_c)
Token(tk_c)
end
@OP.def_rule("[]", proc{|op, io| @lex_state == EXPR_FNAME}) do
lib/irb/slex.rb
D_DETAIL.pp token
postproc = block if block_given?
node = create(token, preproc, postproc)
create(token, preproc, postproc)
end
def def_rules(*tokens, &block)
(4-4/8)