summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2023-11-28 12:35:11 -0500
committerKevin Newton <[email protected]>2023-11-28 12:35:11 -0500
commit0704f40787d306b00db6bbdfee7e13ee172f600a (patch)
treec0ff2da815da163901464d5405c1f5a94f79e962
parent7b057211670c05134f107cfaf2740f8d1a6de09a (diff)
Add in missing error
-rw-r--r--prism/diagnostic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/prism/diagnostic.c b/prism/diagnostic.c
index 84278b5e9c..e2181151c2 100644
--- a/prism/diagnostic.c
+++ b/prism/diagnostic.c
@@ -198,6 +198,7 @@ static const char* const diagnostic_messages[PM_DIAGNOSTIC_ID_LEN] = {
[PM_ERR_OPERATOR_WRITE_BLOCK] = "unexpected operator after a call with a block",
[PM_ERR_PARAMETER_ASSOC_SPLAT_MULTI] = "unexpected multiple `**` splat parameters",
[PM_ERR_PARAMETER_BLOCK_MULTI] = "multiple block parameters; only one block is allowed",
+ [PM_ERR_PARAMETER_CIRCULAR] = "parameter default value references itself",
[PM_ERR_PARAMETER_METHOD_NAME] = "unexpected name for a parameter",
[PM_ERR_PARAMETER_NAME_REPEAT] = "repeated parameter name",
[PM_ERR_PARAMETER_NO_DEFAULT] = "expected a default value for the parameter",