diff options
author | ydah <[email protected]> | 2024-09-03 16:12:30 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-09-03 22:09:08 +0900 |
commit | a2243ee48bf6d68b0e5c713b5e7dd6bf3b57f62c (patch) | |
tree | 3adb090f6c1f3ad0ae7cd436fe09fadb9ff09b08 /node_dump.c | |
parent | af143d8a749ae0ba0f394521dd46bea824a354fa (diff) |
Implement ALIAS NODE keyword locations
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11530
Diffstat (limited to 'node_dump.c')
-rw-r--r-- | node_dump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node_dump.c b/node_dump.c index 2b9322bdb7..6ab91bd853 100644 --- a/node_dump.c +++ b/node_dump.c @@ -922,8 +922,9 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) ANN("format: alias [nd_1st] [nd_2nd]"); ANN("example: alias bar foo"); F_NODE(nd_1st, RNODE_ALIAS, "new name"); - LAST_NODE; F_NODE(nd_2nd, RNODE_ALIAS, "old name"); + LAST_NODE; + F_LOC(keyword_loc, RNODE_ALIAS); return; case NODE_VALIAS: |