xo-interpreter: plumb initial global symtab so builtins reach parser
This commit is contained in:
parent
2526dcc9b1
commit
79d32b61c6
14 changed files with 57 additions and 23 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