mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-07 01:21:54 +00:00
Lexer: Pass also the symbol enum value to Bison
This commit is contained in:
parent
8efb681cda
commit
1267228568
@ -275,7 +275,10 @@ else: {
|
|||||||
if (k)
|
if (k)
|
||||||
{
|
{
|
||||||
if (k->value > 0)
|
if (k->value > 0)
|
||||||
|
{
|
||||||
|
cf_lval.i = k->value;
|
||||||
return k->value;
|
return k->value;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cf_lval.i = -k->value;
|
cf_lval.i = -k->value;
|
||||||
|
Loading…
Reference in New Issue
Block a user