summaryrefslogtreecommitdiff
path: root/lib/command_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 56c58fdaed..df90f64edb 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -433,6 +433,7 @@ terminate_graph (struct graph_node *startnode,
{
struct graph_node *end = new_node (END_GN);
end->element = element;
+ end->text = XSTRDUP(MTYPE_CMD_TOKENS, "<cr>");
if (node_exists (finalnode, end))
yyerror (element, startnode, "Duplicate command.");
else