Implement UNLESS NODE keyword locations

This commit is contained in:
yui-knk 2024-07-22 16:28:00 +09:00 committed by Yuichiro Kaneko
parent f23485a8d6
commit 57b11be15a
Notes: git 2024-07-23 05:35:41 +00:00
5 changed files with 53 additions and 15 deletions

View file

@ -273,6 +273,9 @@ typedef struct RNode_UNLESS {
struct RNode *nd_cond;
struct RNode *nd_body;
struct RNode *nd_else;
rb_code_location_t keyword_loc;
rb_code_location_t then_keyword_loc;
rb_code_location_t end_keyword_loc;
} rb_node_unless_t;
typedef struct RNode_CASE {