diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-12-16 11:05:46 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-16 11:08:51 +0800 |
commit | d242e8416e99eaee4465e2681210ae8b7ecd6d34 (patch) | |
tree | a1a7de4a143879aa16b6c751826dd1ee2a15c7e0 /prism/diagnostic.c | |
parent | 122341305ff859bf30b99175bfb9db4b8f6467f5 (diff) |
Revert all of commits after Prism 0.19.0 release
We should bundle released version of Prism for Ruby 3.3.0
Diffstat (limited to 'prism/diagnostic.c')
-rw-r--r-- | prism/diagnostic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/prism/diagnostic.c b/prism/diagnostic.c index fd5dce5a04..1fc8c50cb5 100644 --- a/prism/diagnostic.c +++ b/prism/diagnostic.c @@ -62,7 +62,6 @@ static const char* const diagnostic_messages[PM_DIAGNOSTIC_ID_LEN] = { [PM_ERR_ARGUMENT_FORMAL_GLOBAL] = "invalid formal argument; formal argument cannot be a global variable", [PM_ERR_ARGUMENT_FORMAL_IVAR] = "invalid formal argument; formal argument cannot be an instance variable", [PM_ERR_ARGUMENT_FORWARDING_UNBOUND] = "unexpected `...` in an non-parenthesized call", - [PM_ERR_ARGUMENT_IN] = "unexpected `in` keyword in arguments", [PM_ERR_ARGUMENT_NO_FORWARDING_AMP] = "unexpected `&` when the parent method is not forwarding", [PM_ERR_ARGUMENT_NO_FORWARDING_ELLIPSES] = "unexpected `...` when the parent method is not forwarding", [PM_ERR_ARGUMENT_NO_FORWARDING_STAR] = "unexpected `*` when the parent method is not forwarding", @@ -192,7 +191,6 @@ static const char* const diagnostic_messages[PM_DIAGNOSTIC_ID_LEN] = { [PM_ERR_MODULE_TERM] = "expected an `end` to close the `module` statement", [PM_ERR_MULTI_ASSIGN_MULTI_SPLATS] = "multiple splats in multiple assignment", [PM_ERR_NOT_EXPRESSION] = "expected an expression after `not`", - [PM_ERR_NO_LOCAL_VARIABLE] = "%.*s: no such local variable", [PM_ERR_NUMBER_LITERAL_UNDERSCORE] = "number literal ending with a `_`", [PM_ERR_NUMBERED_PARAMETER_NOT_ALLOWED] = "numbered parameters are not allowed when an ordinary parameter is defined", [PM_ERR_NUMBERED_PARAMETER_OUTER_SCOPE] = "numbered parameter is already used in outer scope", |