xo-interpreter2 stack: plumbing for aux_mm and use opportunistically
This commit is contained in:
parent
fc17a6f856
commit
78f1b8a0b6
8 changed files with 110 additions and 42 deletions
|
|
@ -10,12 +10,14 @@ namespace xo {
|
|||
|
||||
namespace scm {
|
||||
SchematikaReader::SchematikaReader(const ReaderConfig & config,
|
||||
obj<AAllocator> expr_alloc)
|
||||
obj<AAllocator> expr_alloc,
|
||||
obj<AAllocator> fixed_alloc)
|
||||
: tokenizer_{config.tk_buffer_config_,
|
||||
config.tk_debug_flag_},
|
||||
parser_{config.parser_arena_config_,
|
||||
config.max_stringtable_cap_,
|
||||
expr_alloc,
|
||||
fixed_alloc,
|
||||
config.parser_debug_flag_},
|
||||
debug_flag_{config.reader_debug_flag_}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue