Wrap nd_head in node dump message with brackets

This commit is contained in:
yui-knk 2023-08-22 18:02:21 +09:00 committed by Yuichiro Kaneko
parent 1c93288f8b
commit 0ed3624c62
Notes: git 2023-08-22 11:01:45 +00:00

View File

@ -592,7 +592,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
case NODE_HASH:
if (!node->nd_brace) {
ANN("keyword arguments");
ANN("format: nd_head");
ANN("format: [nd_head]");
ANN("example: a: 1, b: 2");
}
else {