Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmaissroff committed Dec 7, 2023
1 parent a0c7bb4 commit b361a80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prism_compile.c
Expand Up @@ -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++) {
Expand Down

0 comments on commit b361a80

Please sign in to comment.