diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-11 18:12:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-11 18:12:09 +0200 |
commit | c552070230c4ad9c92b516c28658b5c74c57e46b (patch) | |
tree | bc78a4c9c5c9bfb21539e3e65f713a7f0daa766b /tests/manifest-roundtrip/driver.cxx | |
parent | 294f8e8d3abebaaa976c7d21248a1a205c869b02 (diff) |
Outline of parsing and serialization for manifest object model
Diffstat (limited to 'tests/manifest-roundtrip/driver.cxx')
-rw-r--r-- | tests/manifest-roundtrip/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manifest-roundtrip/driver.cxx b/tests/manifest-roundtrip/driver.cxx index 45abc67..f8a95bd 100644 --- a/tests/manifest-roundtrip/driver.cxx +++ b/tests/manifest-roundtrip/driver.cxx @@ -26,12 +26,12 @@ main (int argc, char* argv[]) ifs.exceptions (ifstream::badbit | ifstream::failbit); ifs.open (argv[1], ifstream::in | ifstream::binary); - manifest_parser p (ifs, ""); + manifest_parser p (ifs, argv[1]); manifest_serializer s (cout, "stdout"); for (bool eom (true), eos (false); !eos; ) { - auto nv (p.next ()); + manifest_name_value nv (p.next ()); if (nv.empty ()) // End pair. { |