diff options
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r-- | conf/confbase.Y | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index e109ddf5..1790a7f8 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -117,6 +117,7 @@ CF_DECLS %type <mls> label_stack_start label_stack %type <t> text opttext +%type <bs> bytestring %type <s> symbol %type <kw> kw_sym @@ -395,6 +396,14 @@ opttext: | /* empty */ { $$ = NULL; } ; +bytestring: + BYTETEXT + | CF_SYM_KNOWN { + if ($1->class != (SYM_CONSTANT | T_BYTESTRING)) cf_error("Bytestring constant expected"); + $$ = SYM_VAL($1).bs; + } + ; + CF_CODE |