From b361a800c22e0248bf126d77e96a7bd4f9c34d1b Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Thu, 7 Dec 2023 15:03:06 -0500 Subject: [PATCH] Added comment --- prism_compile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prism_compile.c b/prism_compile.c index 71fd05dddf..24a102cd6b 100644 --- a/prism_compile.c +++ b/prism_compile.c @@ -1757,6 +1757,9 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, return; } case PM_ARGUMENTS_NODE: { + // These are ArgumentsNodes that are not compiled directly by their + // parent call nodes, used in the cases of NextNodes, ReturnNodes + // and BreakNodes pm_arguments_node_t *arguments_node = (pm_arguments_node_t *) node; pm_node_list_t node_list = arguments_node->arguments; for (size_t index = 0; index < node_list.size; index++) {