aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_macros.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_macros.c')
-rw-r--r--src/vppinfra/test_macros.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vppinfra/test_macros.c b/src/vppinfra/test_macros.c
index f130604d691..ad3ea37a903 100644
--- a/src/vppinfra/test_macros.c
+++ b/src/vppinfra/test_macros.c
@@ -32,8 +32,9 @@ test_macros_main (unformat_input_t * input)
clib_macro_set_value (mm, "bar", "bar");
fformat (stdout, "evaluate: %s\n",
- clib_macro_eval (mm, (i8 *) "returns '$(foo)'",
- 1 /* complain */ ));
+ clib_macro_eval (mm, (i8 *) "returns '$(foo)'", 1 /* complain */ ,
+ 0 /* recursion_level */ ,
+ 8 /* max recursion level */ ));
clib_macro_free (mm);