| Age | Commit message (Collapse) | Author |
|
|
|
A "do" what has followed a token what has EXPR_CMDARG is for a block,
and in other cases "do" is for "while", "until" or "for".
|
|
|
|
This reverts commit 1ee88c51b3c319b74b69540e111e4a1c24833cad.
|
|
|
|
Fixes [Ruby Bug 13907]
|
|
RubyVM is specific to CRuby and not supported on JRuby. This is
the equivalent operation.
|
|
|
|
|
|
|
|
When input `"` or `/` with simple-prompt,
Before:
`"` or `/`
(prompt disappeared and indent is changed)
After:
`"> "` or `/> /`
(indent is unchanged since `>> `)
|
|
|
|
|
|
|
|
|
|
A history line ends with "\" to escape newline if it's a continuous
line.
|
|
|
|
|
|
|
|
|
|
|
|
In IRB, Time.new is split as "Time", ".", and "new". The receiver "Time"
is processed by #class method but it means that "Time" changes to
"Class". This commit fixes it.
|
|
|
|
|
|
|
|
|
|
Example:
[
1, # this is not continuation line
2
]
|
|
|
|
|
|
v =
3 # auto indent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
v =
if true # starting token at head of 2nd line
3
end # closing token
|
|
if true
3; end # this isn't auto-indented
|
|
v =
if true
3
end # this "end" is auto-indented correctly
|
|
|
|
|
|
|
|
|
|
|
|
Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227
Mostly backport changes.
|
|
|
|
|
|
|