xo-interpreter2: report_memory_use() unit test

This commit is contained in:
Roland Conybeare 2026-02-28 13:36:27 +11:00
commit a1e85d65bc
3 changed files with 44 additions and 1 deletions

View file

@ -25,6 +25,12 @@ namespace xo {
return retval;
}
VsmConfig with_parser_debug_flag(bool x) const {
VsmConfig retval = *this;
retval.rdr_config_.parser_debug_flag_ = x;
return retval;
}
/** true for interactive parser session; false for batch session **/
bool interactive_flag_ = true;