mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Implement UNLESS NODE keyword locations
This commit is contained in:
parent
f23485a8d6
commit
57b11be15a
Notes:
git
2024-07-23 05:35:41 +00:00
5 changed files with 53 additions and 15 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue