0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-05 08:31:53 +00:00

Lexer: Pass also the symbol enum value to Bison

This commit is contained in:
Jan Maria Matejka 2018-06-01 23:23:38 +02:00
parent 8efb681cda
commit 1267228568

View File

@ -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;