Skip to content

Commit

Permalink
fix(repl): handle imports of ArkScript code
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed May 12, 2024
1 parent 8ff80c6 commit 6a4c644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/arkreactor/Compiler/Welder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ namespace Ark
{
m_parser.processString(code);
// TODO mutualise this piece of code
m_macro_processor.process(m_parser.ast());
m_importer.process(m_root_file, m_parser.ast(), m_parser.imports());
m_macro_processor.process(m_importer.ast());
m_optimizer.process(m_macro_processor.ast());

return true;
Expand Down

0 comments on commit 6a4c644

Please sign in to comment.