From: Jan Maria Matejka Date: Fri, 1 Jun 2018 21:23:38 +0000 (+0200) Subject: Lexer: Pass also the symbol enum value to Bison X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12672285689b51c94d782c255ed2b9f0213de6ed;p=thirdparty%2Fbird.git Lexer: Pass also the symbol enum value to Bison --- diff --git a/conf/cf-lex.l b/conf/cf-lex.l index c3154b363..ae0bb5a60 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -275,7 +275,10 @@ else: { if (k) { if (k->value > 0) + { + cf_lval.i = k->value; return k->value; + } else { cf_lval.i = -k->value;