Skip to content

Commit

Permalink
Add buffer clears
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvrose committed Oct 1, 2020
1 parent f01dc4c commit 2b8f716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added samples/error.bfe
Empty file.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 2b8f716

Please sign in to comment.