diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-16 22:30:36 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-23 21:52:43 +0100 |
| commit | 0bf5b1cbe3812e748d459fa4c4fb6596e072e7bd (patch) | |
| tree | 192e6f292edc83b74016c74547a3cd76101710b2 /lib/command.h | |
| parent | 61617d382e018adf7b148bf4d18d6a0fb1fb8645 (diff) | |
lib: parser: simplify OPTION_TKN & SELECTOR_TKN
These are functionally identical as "fork" tokens.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/command.h b/lib/command.h index 1e1698fc7d..dd940f0d57 100644 --- a/lib/command.h +++ b/lib/command.h @@ -176,11 +176,12 @@ enum cmd_token_type IPV6_PREFIX_TKN, // IPV6 network prefixes /* plumbing types */ - SELECTOR_TKN, // marks beginning of selector - OPTION_TKN, // marks beginning of option - NUL_TKN, // dummy token + FORK_TKN, // marks subgraph beginning + JOIN_TKN, // marks subgraph end START_TKN, // first token in line END_TKN, // last token in line + + SPECIAL_TKN = FORK_TKN, }; /* Command attributes */ |
