summaryrefslogtreecommitdiffstats
path: root/lib/command_parse.y
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-02 21:14:40 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-02 21:14:40 +0200
commit4d12266b808b1208fb603406346025e1a2a66858 (patch)
treeff11d6a8a7d68fdad832414cedd829dc220a59ea /lib/command_parse.y
parenttools: add command permutations generator (diff)
downloadfrr-4d12266b808b1208fb603406346025e1a2a66858.tar.xz
frr-4d12266b808b1208fb603406346025e1a2a66858.zip
lib: allow nesting selectors
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
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 2d8881689..89c0e47f8 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -343,6 +343,7 @@ selector_token:
$$->start = $$->end = $1;
}
| option
+| selector
;
/* [option] productions */