]> git.proxmox.com Git - mirror_frr.git/commit
lib: parser: add error location reporting
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 17 Dec 2016 06:32:58 +0000 (07:32 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 20:52:44 +0000 (21:52 +0100)
commit8bb647a8302be446e4ea4d05b98f3c656cb647d7
treee0294aa78ea24713d099647c30eed6eacc420764
parent663982cda7188c03472975ef412e57152744eaa5
lib: parser: add error location reporting

flex+bison have nice capabilities to track the location that is
currently being processed; let's enable these and get better warnings
for broken CLI specs.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command_lex.l
lib/command_parse.y