diff options
Diffstat (limited to 'c_parser/src/parser_main.cpp')
-rw-r--r-- | c_parser/src/parser_main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c_parser/src/parser_main.cpp b/c_parser/src/parser_main.cpp index 02f3b3f..9626334 100644 --- a/c_parser/src/parser_main.cpp +++ b/c_parser/src/parser_main.cpp @@ -5,9 +5,11 @@ int main(int argc, char *argv[]) { ast_Top *ast = parseAST(); + std::cout << "<?xml version=\"1.0\"?>" << std::endl << "<Program>" << std::endl; + ast->print(); - std::cout << std::endl; + std::cout << "</Program>" << std::endl; return 0; } |