xo-reader2 xo-expresion2: work on define-expressions [WIP]
This commit is contained in:
parent
8bae2128a1
commit
516b0932ee
40 changed files with 711 additions and 72 deletions
|
|
@ -19,7 +19,7 @@ namespace xo {
|
|||
// ----- SchematikaParser -----
|
||||
|
||||
SchematikaParser::SchematikaParser(const ArenaConfig & config,
|
||||
obj<AAllocator> * expr_alloc,
|
||||
obj<AAllocator> expr_alloc,
|
||||
bool debug_flag)
|
||||
: psm_{config, expr_alloc},
|
||||
debug_flag_{debug_flag}
|
||||
|
|
@ -38,13 +38,13 @@ namespace xo {
|
|||
|
||||
void
|
||||
SchematikaParser::begin_interactive_session() {
|
||||
DExprSeqState::establish_interactive(*(psm_.expr_alloc()), &psm_);
|
||||
DExprSeqState::establish_interactive(psm_.expr_alloc(), &psm_);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
SchematikaParser::begin_batch_session() {
|
||||
DExprSeqState::establish_batch(*(psm_.expr_alloc()), &psm_);
|
||||
DExprSeqState::establish_batch(psm_.expr_alloc(), &psm_);
|
||||
}
|
||||
|
||||
const ParserResult &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue