Feature #11154 » prefix-bang-qmark-irb.diff
lib/irb/ruby-lex.rb | ||
---|---|---|
if (ch == "!" || ch == "?") && token[0,1] =~ /\w/ && peek(0) != "="
|
||
token.concat getc
|
||
if ch == "!" && (ch = getc) == "?" && peek(0) != "="
|
||
token.concat ch
|
||
end
|
||
end
|
||
# almost fix token
|
- « Previous
- 1
- 2
- Next »