summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-23 19:20:15 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-16 20:48:31 +0100
commitfd19e7a2c02e0440be21358f175b0059e80f1d0b (patch)
tree4ff9ccbe3cb7bec1bb2e963ce469050fb4c9ae73 /lib/command.c
parentbca1a301babea5f2cd17ccd7e6d077fbd120bfda (diff)
lib: parser: remove startnode & sentence_root
This removes an artificial restriction for the first token in a command's graph to be a WORD_TKN. The intention seems to be to prohibit empty paths through a command, and to restrict "explosion" of choices in the root node. The better approach to the former is to check for an empty path after the definition is parsed. The latter will happen anyway, by duplication of the command, which just makes it worse... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions