Implement WHILE and UNTIL NODE locations

This commit is contained in:
ydah 2024-09-10 00:13:24 +09:00 committed by Yuichiro Kaneko
parent 1adcc41b94
commit 4e6091ce09
Notes: git 2024-09-11 00:29:12 +00:00
5 changed files with 48 additions and 14 deletions

View file

@ -323,6 +323,8 @@ typedef struct RNode_LOOP {
struct RNode *nd_cond;
struct RNode *nd_body;
long nd_state;
rb_code_location_t keyword_loc;
rb_code_location_t closing_loc;
} rb_node_while_t, rb_node_until_t;
typedef struct RNode_ITER {