Run(client, code, fout, expand);
}
Run(client, code, fout, expand);
}
for (CYDriver::Errors::const_iterator i(driver.errors_.begin()); i != driver.errors_.end(); ++i)
std::cerr << i->location_.begin << ": " << i->message_ << std::endl;
} else if (driver.program_ != NULL)
for (CYDriver::Errors::const_iterator i(driver.errors_.begin()); i != driver.errors_.end(); ++i)
std::cerr << i->location_.begin << ": " << i->message_ << std::endl;
} else if (driver.program_ != NULL)
- if (client != -1)
- Run(client, start, end - start, stdout);
- else {
+ if (client != -1) {
+ std::string code(start, end-start);
+ Run(client, code, stdout);
+ } else {