0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-19 01:28:44 +00:00

Even set of number can be made by expressions.

This commit is contained in:
Ondrej Filip 2010-08-03 15:22:29 +02:00
parent 4733b49ed6
commit edaec901e1

View File

@ -228,7 +228,7 @@ fipa:
; ;
set_atom: set_atom:
NUM { $$.type = T_INT; $$.val.i = $1; } expr { $$.type = T_INT; $$.val.i = $1; }
| RTRID { $$.type = T_QUAD; $$.val.i = $1; } | RTRID { $$.type = T_QUAD; $$.val.i = $1; }
| fipa { $$ = $1; } | fipa { $$ = $1; }
| ENUM { $$.type = $1 >> 16; $$.val.i = $1 & 0xffff; } | ENUM { $$.type = $1 >> 16; $$.val.i = $1 & 0xffff; }