Bug #3514 » irb.patch
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)
|