From 12672285689b51c94d782c255ed2b9f0213de6ed Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Fri, 1 Jun 2018 23:23:38 +0200 Subject: [PATCH] Lexer: Pass also the symbol enum value to Bison --- conf/cf-lex.l | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/cf-lex.l b/conf/cf-lex.l index c3154b36..ae0bb5a6 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;