Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inputrc nested $if $else $endif bug #689

Merged
merged 1 commit into from Apr 25, 2024

Conversation

tompng
Copy link
Member

@tompng tompng commented Apr 25, 2024

Reading inputrc had a bug like this

$if Ruby
$else
$endif

# Everything below is skipped
set editing-mode vi

Although the above example is not a nested $if, this is caused by nested $if bug.
This pull request fixes it, and add nested $if tests.

@tompng tompng added the bug Something isn't working label Apr 25, 2024
Copy link
Member

@ima1zumi ima1zumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ima1zumi ima1zumi merged commit 0d8aea2 into ruby:master Apr 25, 2024
40 checks passed
@tompng tompng deleted the inputrc_if_else_endif_fix branch April 25, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

2 participants