summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-11-29 09:42:51 -0500
committergit <svn-admin@ruby-lang.org>2023-11-29 15:24:41 +0000
commitb632732bcf901360560555fea3d9d88811252f0d (patch)
tree3fbae47dfd63ff5d527933bb063748a2659f30a3
parent38e6442f8cf7bc70f8f1262d591011dc78b337d9 (diff)
[ruby/prism] Fixed comment on pm_parser_numbered_parameters_set
https://github.com/ruby/prism/commit/ceae5727b8
-rw-r--r--prism/prism.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/prism.c b/prism/prism.c
index 1a4d31c268..881ea89a29 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -5843,7 +5843,7 @@ pm_parser_local_add(pm_parser_t *parser, pm_constant_id_t constant_id) {
}
/**
- * Add a constant id to the local table of the current scope.
+ * Set the numbered_parameters value of the current scope.
*/
static inline void
pm_parser_numbered_parameters_set(pm_parser_t *parser, uint32_t numbered_parameters) {