diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-10 20:31:15 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-10 20:31:15 +0200 |
commit | ca90e051043f819fe974cd110e15cf38edd63f2e (patch) | |
tree | 1886b09b8fa62f36604050a1c142a35bf2db8393 /lib/command_parse.y | |
parent | debian: Add bison and flex to Build-Depends (diff) | |
download | frr-ca90e051043f819fe974cd110e15cf38edd63f2e.tar.xz frr-ca90e051043f819fe974cd110e15cf38edd63f2e.zip |
lib: Add completion string convenience functions
And set END_GN default text to <cr>, and scrub
a coupld of extraneous files
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r-- | lib/command_parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index 56c58fdae..df90f64ed 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 |