]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.h
lib: parser: rewrite token deduplication
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 16 Dec 2016 22:27:39 +0000 (23:27 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 10 Feb 2017 14:39:04 +0000 (15:39 +0100)
commitde8f7a39836a8f121370c1506cc00e3321f284a2
tree659afcae689747e0cbf858d29808fa9f9e7ec979
parent6432969db96ba03452b0e13906d85e718d6c633e
lib: parser: rewrite token deduplication

Merge the parsed graph into the existing one as a separate step.  This
makes it possible to merge identical subgraphs, which is used e.g. in
bgpd for <A.B.C.D|X:X::X:X|WORD> neighbor names.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command.c
lib/command.h
lib/grammar_sandbox.c