xo-reader2 xo-expresion2: work on define-expressions [WIP]
This commit is contained in:
parent
844b1519ef
commit
19b6caa89d
23 changed files with 263 additions and 67 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