vlib: debug CLI macro expander, part deux
Deal with circular macro definitions instead of crashing due to stack overflow. Separate macro tables, per CLI session Add documentation to the Sphinx docs Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I55fc9152bd37ad0c15fa3959f38b07b63100e634
This commit is contained in:

committed by
Florin Coras

parent
cc72094696
commit
b30b9549ac
@ -108,7 +108,9 @@ do_one_file (vat_main_t * vam)
|
||||
|
||||
this_cmd =
|
||||
(u8 *) clib_macro_eval (&vam->macro_main, (i8 *) vam->inbuf,
|
||||
1 /* complain */ );
|
||||
1 /* complain */ ,
|
||||
0 /* level */ ,
|
||||
8 /* max_level */ );
|
||||
|
||||
if (vam->exec_mode == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user