]> git.puffer.fish Git - matthieu/frr.git/commit
lib: add a check for {[...]} in DEFUNs
authorDavid Lamparter <equinox@diac24.net>
Tue, 25 Jun 2019 11:34:12 +0000 (13:34 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 25 Jun 2019 11:35:21 +0000 (13:35 +0200)
commiteb44e1aac0811da16766bdea255ffef93e2a5b23
tree4a715b14d03b0002111328000d55f41ee9b814d0
parent0c3bbed4e670a24134bd0bcb18b56634c542fcf5
lib: add a check for {[...]} in DEFUNs

Our command matcher doesn't handle {[...]} correctly;  let's warn about
it so the DEFUN can be changed to [{...}] (which does work as expected.)

Fixes: #4594
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command_parse.y