summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-03-11 14:23:02 +0100
committerFlorian Westphal <fw@strlen.de>2021-03-16 23:59:38 +0100
commit5a5d809b398a920a5267a508a8620b5ee75ab414 (patch)
tree71403f4f28af6808ccc648baa154d7842ccea00b /include
parent4cb7f91edf1409e64f0fafcef190bb7c37a50854 (diff)
scanner: ct: move to own scope
This allows moving multiple ct specific keywords out of INITIAL scope. Next few patches follow same pattern: 1. add a scope_close_XXX rule 2. add a SCANSTATE_XXX & make flex switch to it when encountering XXX keyword 3. make bison leave SCANSTATE_XXXX when it has seen the complete expression. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r--include/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parser.h b/include/parser.h
index fd5006d3..be29f400 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -28,6 +28,7 @@ struct parser_state {
enum startcond_type {
PARSER_SC_BEGIN,
+ PARSER_SC_CT,
PARSER_SC_EXPR_HASH,
PARSER_SC_EXPR_IPSEC,
PARSER_SC_EXPR_NUMGEN,