diff options
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -760,7 +760,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_DEFN: ANN("method definition"); ANN("format: def [nd_mid] [nd_defn]; end"); - ANN("example; def foo; bar; end"); + ANN("example: def foo; bar; end"); F_ID(nd_mid, "method name"); LAST_NODE; F_NODE(nd_defn, "method definition"); @@ -769,7 +769,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_DEFS: ANN("singleton method definition"); ANN("format: def [nd_recv].[nd_mid] [nd_defn]; end"); - ANN("example; def obj.foo; bar; end"); + ANN("example: def obj.foo; bar; end"); F_NODE(nd_recv, "receiver"); F_ID(nd_mid, "method name"); LAST_NODE; |