0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Conf: build fix for older bisons

Typed blocks are probably a too new extension to rely on.
This commit is contained in:
Maria Matejka 2024-11-29 11:27:30 +01:00
parent 1b0ffdf80e
commit caa5e7907a

View File

@ -515,10 +515,10 @@ type:
} }
} }
| ENUM | ENUM
<i>{ $$ = cf_maybe_exit_filters(); } { $<i>$ = cf_maybe_exit_filters(); }
enum_type enum_type
{ {
if ($2) cf_enter_filters(); if ($<i>2) cf_enter_filters();
$$ = $3; $$ = $3;
} }
; ;