]> git.puffer.fish Git - matthieu/frr.git/commit
lib: parser: accept number-only word tokens
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 16 Dec 2016 19:43:26 +0000 (20:43 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 16 Dec 2016 19:48:31 +0000 (20:48 +0100)
commitbca1a301babea5f2cd17ccd7e6d077fbd120bfda
tree891a1a3dcc7b8227c2aecdef4021beabc246dbe1
parenta6cf5da4fd6253b5f92ff4bee84d9e02c2439326
lib: parser: accept number-only word tokens

There seems to be no reason why numbers don't work as plain word tokens;
this is useful to have "number choices" or constants, e.g. <128|192|256>
for bit encryption lengths.

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