Address listed flaws in implementation

This commit is contained in:
2019-08-06 14:24:26 -07:00
parent 9a89f075b2
commit 329d547f56
3 changed files with 44 additions and 2 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;