Address listed flaws in implementation

This commit is contained in:
2019-08-06 14:24:26 -07:00
parent 34e967f364
commit 8450e2c35d
4 changed files with 47 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
#include "parser.hpp"
void yy::parser::error(const std::string& msg) {
std::cout << "An error occured: " << std::endl;
std::cout << "An error occured: " << msg << std::endl;
}
extern std::vector<definition_ptr> program;