summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-02-12 15:03:04 -0500
committergit <svn-admin@ruby-lang.org>2024-02-12 20:03:09 +0000
commitbb845ae8794c63981632909887e40b7ccd5e9876 (patch)
tree4846f2487a827081eb8e6851db4d03316d848e54
parent4f1a466522bdab1fcac04c9d2246e15010467925 (diff)
[ruby/prism] Fix typo in class variable name error
https://github.com/ruby/prism/commit/5f6c45f6fb
-rw-r--r--prism/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/diagnostic.c b/prism/diagnostic.c
index 4f9b3bf75b..957cc47d7c 100644
--- a/prism/diagnostic.c
+++ b/prism/diagnostic.c
@@ -190,7 +190,7 @@ static const pm_diagnostic_data_t diagnostic_messages[PM_DIAGNOSTIC_ID_LEN] = {
[PM_ERR_HASH_VALUE] = { "expected a value in the hash literal", PM_ERROR_LEVEL_FATAL },
[PM_ERR_HEREDOC_TERM] = { "could not find a terminator for the heredoc", PM_ERROR_LEVEL_FATAL },
[PM_ERR_INCOMPLETE_QUESTION_MARK] = { "incomplete expression at `?`", PM_ERROR_LEVEL_FATAL },
- [PM_ERR_INCOMPLETE_VARIABLE_CLASS] = { "`%.*s' is not allowed as an class variable name", PM_ERROR_LEVEL_FATAL },
+ [PM_ERR_INCOMPLETE_VARIABLE_CLASS] = { "`%.*s' is not allowed as a class variable name", PM_ERROR_LEVEL_FATAL },
[PM_ERR_INCOMPLETE_VARIABLE_INSTANCE] = { "`%.*s' is not allowed as an instance variable name", PM_ERROR_LEVEL_FATAL },
[PM_ERR_INVALID_FLOAT_EXPONENT] = { "invalid exponent", PM_ERROR_LEVEL_FATAL },
[PM_ERR_INVALID_NUMBER_BINARY] = { "invalid binary number", PM_ERROR_LEVEL_FATAL },