This commit is contained in:
Valk Richard Li
2020-02-15 17:25:14 +08:00
committed by GitHub
parent 15b86933e9
commit d9f5995b01
4 changed files with 60 additions and 6 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ void abstract_syntax_tree::print_tree_block(const int n)
for(int i=0;i<n;++i)
__str+="| ";
std::cout<<__str;
print_parse_token(node_type);
print_ast_type(node_type);
switch(node_type)
{
case __number: std::cout<<": "<<var_number;break;