Add buffer clears

This commit is contained in:
2020-10-01 19:50:16 +05:30
parent f01dc4cf97
commit 2b8f716038
2 changed files with 2 additions and 2 deletions

0
samples/error.bfe Normal file
View File

View File

@@ -28,12 +28,12 @@ int main(int argc, const char *argv[])
tree::ParseTree *tree = parser.program();
// toBFListener listener;
// tree::ParseTreeWalker::DEFAULT.walk(&listener, tree);
executeBGE* visitor = new executeBGE();
try{
visitor->visit(tree);
std::cout<<std::endl;
}catch(std::string e){
std::cout<<"Illegal:"<<e;
std::cout<<"Illegal:"<<e<<std::endl;
}
return 0;
}