xo-interpreter: plumb initial global symtab so builtins reach parser
This commit is contained in:
parent
fc2c9a5629
commit
1ae512b261
8 changed files with 27 additions and 11 deletions
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
reader::reader(bool debug_flag) :
|
||||
reader::reader(const rp<GlobalSymtab> & toplevel_symtab, bool debug_flag) :
|
||||
tokenizer_{debug_flag},
|
||||
parser_{debug_flag}
|
||||
parser_{toplevel_symtab, debug_flag}
|
||||
{}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue