]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: allow nesting selectors
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 2 Oct 2016 19:14:40 +0000 (19:14 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 2 Oct 2016 19:14:40 +0000 (19:14 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command_parse.y

index 2d8881689daf21c736d7a40661f4db2e5a11ae1c..89c0e47f8371239215716d2412482c76ad7d5af8 100644 (file)
@@ -343,6 +343,7 @@ selector_token:
   $$->start = $$->end = $1;
 }
 | option
+| selector
 ;
 
 /* [option] productions */