Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like.

This commit is contained in:
Zed A. Shaw 2024-09-05 18:48:15 -04:00
parent 8d1570f44a
commit daf9a3cc07
8 changed files with 134 additions and 16 deletions

View file

@ -56,6 +56,8 @@ void Builder::run_build() {
while(fgets(buffer, BUF_MAX, build_out) != nullptr) {
string line(buffer); // yeah, that's probably a problem
cerr << buffer;
smatch err;
bool match = regex_match(line, err, err_re);