Working up parser combinators

This commit is contained in:
Jonathan Turner
2009-05-26 20:17:42 +00:00
parent 8138b19390
commit 7f628d9130
5 changed files with 80 additions and 3 deletions

View File

@@ -31,8 +31,6 @@ std::string load_file(const char *filename) {
std::streampos size = infile.tellg();
infile.seekg(0, std::ios::beg);
std::cout << "Allocating: " << size << " bytes" << std::endl;
std::vector<char> v(size);
infile.read(&v[0], size);