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
|
|
@ -83,7 +83,9 @@ main()
|
|||
|
||||
constexpr bool c_debug_flag = false;
|
||||
|
||||
reader rdr(c_debug_flag);
|
||||
rp<GlobalSymtab> toplevel_symtab = GlobalSymtab::make_empty();
|
||||
|
||||
reader rdr(toplevel_symtab, c_debug_flag);
|
||||
rdr.begin_interactive_session();
|
||||
|
||||
string input_str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue