summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'node_dump.c')
-rw-r--r--node_dump.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_dump.c b/node_dump.c
index ebb0ac8b61..2a8a3f9113 100644
--- a/node_dump.c
+++ b/node_dump.c
@@ -1098,6 +1098,13 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
F_NODE(nd_pkwrestarg, RNODE_HSHPTN, "keyword rest argument");
}
return;
+
+ case NODE_LINE:
+ ANN("line");
+ ANN("format: [lineno]");
+ ANN("example: __LINE__");
+ return;
+
case NODE_ERROR:
ANN("Broken input recovered by Error Tolerant mode");
return;