Use new eval mechanism for testing filters.

This commit is contained in:
Pavel Machek 2000-05-15 12:07:09 +00:00
parent e3f2d5fce3
commit 6be662d917
2 changed files with 3 additions and 1 deletions

View file

@ -673,7 +673,7 @@ f_eval_int(struct f_inst *expr)
f_rte = NULL;
f_rte_old = NULL;
f_rta_copy = NULL;
f_pool = NULL;
f_pool = cfg_mem;
res = interpret(expr);
if (res.type != T_INT)
cf_error("Integer expression expected");

View file

@ -141,3 +141,5 @@ int j;
accept "ok I take that";
}
eval __startup();