Make a few more things classes.

This commit is contained in:
2020-09-17 18:30:41 -07:00
parent a5597aeae0
commit dfe47548cf
7 changed files with 54 additions and 49 deletions

View File

@@ -45,7 +45,7 @@ void file_mgr::print_location(
stream.write(content + highlight_end, print_end - highlight_end);
}
bool parse_driver::run_parse() {
bool parse_driver::operator()() {
FILE* stream = fopen(file_name.c_str(), "r");
if(!stream) return false;
yyscan_t scanner;