diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-17 05:25:36 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-23 21:52:44 +0100 |
| commit | 663982cda7188c03472975ef412e57152744eaa5 (patch) | |
| tree | ab62d13d6580718260a2e9be3aac47f7becdb371 /lib/command.c | |
| parent | 2020b1c8a88fc4f0c0dd788261deb06ee0c670a7 (diff) | |
lib: parser: unify subgraphs & simplify even more
This cuts a large piece of complexity from the parser by making the
sequences between | the same, no matter whether it's <> () or [].
This causes some changes in behaviour:
- [foo|bar] is now accepted
- <foo|[bar]> is now accepted (yes it's stupid)
- {a|b} is now means "at least one of these, in any order"; to allow
zero use [{a|b}] instead.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
