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

+ ruby27.y: dsym should be treated as string. #560

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/parser/ruby27.y
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ regexp_contents: # nothing
result = @builder.symbol(val[0])
}

dsym: tSYMBEG xstring_contents tSTRING_END
dsym: tSYMBEG string_contents tSTRING_END
{
@lexer.state = :expr_end
result = @builder.symbol_compose(val[0], val[1], val[2])
Expand Down