[Bug #19016] SyntaxError with parser error messages
Raise a SyntaxError with the parser error message, in the case
reading from a file instead of the -e option or standard input. So
syntax_suggest can get the message from the caught error.
Related issues
Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
[Bug #19016]
SyntaxError
with parser error messagesRaise a
SyntaxError
with the parser error message, in the casereading from a file instead of the
-e
option or standard input. Sosyntax_suggest can get the message from the caught error.