summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-18 15:56:18 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-15 23:13:52 +0100
commit7d5718c140611ae125dfab56b94f6a96e19b5922 (patch)
tree76b5d634724313564e078600818bd66f132c66a7 /tests
parentlib: parser: refresh grammar_sandbox (diff)
downloadfrr-7d5718c140611ae125dfab56b94f6a96e19b5922.tar.xz
frr-7d5718c140611ae125dfab56b94f6a96e19b5922.zip
lib: parser: support keyword arguments
This re-adds "{foo WORD|bar WORD}" keyword-argument support to the CLI parser. Note that token graphs may now contain loops for this purpose; therefore the matching functions retain a history of already-matched tokens. Each token can thus only be consumed once. And then LINE... gets its special treatment with allowrepeat. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions