]> git.puffer.fish Git - matthieu/frr.git/commit
lib: parser: add pre-merge varname propagation step
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 22 Mar 2017 05:56:17 +0000 (06:56 +0100)
committerQuentin Young <qlyoung@users.noreply.github.com>
Mon, 15 May 2017 14:27:43 +0000 (10:27 -0400)
commitc09c46ae3c2702b3553e558f723e6de4fea3e05d
tree0f880205691729b8157a38c5df638df3eebe714e
parent5894e76da7974eb00f4c8277a67630f5e50cec53
lib: parser: add pre-merge varname propagation step

Fills token->varname based on context.  WORD tokens use the WORD - if it
isn't actually "WORD".  Other than that, a preceding constant token is
used as name.

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