xo-reader2: + StringTable in ParserStringTable
This commit is contained in:
parent
535f48e202
commit
9ab828059b
5 changed files with 19 additions and 7 deletions
|
|
@ -27,7 +27,7 @@ namespace xo {
|
|||
DArena expr_arena = DArena::map(config);
|
||||
obj<AAllocator> expr_alloc = with_facet<AAllocator>::mkobj(&expr_arena);
|
||||
|
||||
SchematikaParser parser(config, expr_alloc, false /*debug_flag*/);
|
||||
SchematikaParser parser(config, 4096, expr_alloc, false /*debug_flag*/);
|
||||
|
||||
REQUIRE(parser.debug_flag() == false);
|
||||
REQUIRE(parser.is_at_toplevel() == true);
|
||||
|
|
@ -42,7 +42,7 @@ namespace xo {
|
|||
DArena expr_arena = DArena::map(config);
|
||||
obj<AAllocator> expr_alloc = with_facet<AAllocator>::mkobj(&expr_arena);
|
||||
|
||||
SchematikaParser parser(config, expr_alloc, false /*debug_flag*/);
|
||||
SchematikaParser parser(config, 4096, expr_alloc, false /*debug_flag*/);
|
||||
|
||||
parser.begin_interactive_session();
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ namespace xo {
|
|||
DArena expr_arena = DArena::map(config);
|
||||
obj<AAllocator> expr_alloc = with_facet<AAllocator>::mkobj(&expr_arena);
|
||||
|
||||
SchematikaParser parser(config, expr_alloc, false /*debug_flag*/);
|
||||
SchematikaParser parser(config, 4096, expr_alloc, false /*debug_flag*/);
|
||||
|
||||
parser.begin_batch_session();
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ namespace xo {
|
|||
DArena expr_arena = DArena::map(config);
|
||||
obj<AAllocator> expr_alloc = with_facet<AAllocator>::mkobj(&expr_arena);
|
||||
|
||||
SchematikaParser parser(config, expr_alloc, false /*debug_flag*/);
|
||||
SchematikaParser parser(config, 4096, expr_alloc, false /*debug_flag*/);
|
||||
|
||||
parser.begin_batch_session();
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ namespace xo {
|
|||
DArena expr_arena = DArena::map(config);
|
||||
obj<AAllocator> expr_alloc = with_facet<AAllocator>::mkobj(&expr_arena);
|
||||
|
||||
SchematikaParser parser(config, expr_alloc, false /*debug_flag*/);
|
||||
SchematikaParser parser(config, 4096, expr_alloc, false /*debug_flag*/);
|
||||
|
||||
parser.begin_interactive_session();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue