Skip to content

Commit

Permalink
[TEMP] Print syntax tree
Browse files Browse the repository at this point in the history
  • Loading branch information
lluiscamino committed Jul 2, 2024
1 parent 4f77ff5 commit 56ca4b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/em/utils/AstTreeDiagramGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ void AstTreeDiagramGenerator::generate(
const std::unique_ptr<ast::Program>& program, const std::string& filePath) {
program->accept(*this);
std::ofstream file(filePath);
std::cerr << mStream.str() << std::endl;
file << mStream.rdbuf();
}

Expand Down

0 comments on commit 56ca4b3

Please sign in to comment.