xo-interpreter2: report_memory_use() unit test
This commit is contained in:
parent
a41ff13f09
commit
a1e85d65bc
3 changed files with 44 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue