about summary refs log tree commit diff stats
path: root/cpp/011load
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/011load')
-rw-r--r--cpp/011load4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/011load b/cpp/011load
index cffcc551..eb8ed8f1 100644
--- a/cpp/011load
+++ b/cpp/011load
@@ -12,6 +12,10 @@ recipe main [
 vector<recipe_number> add_recipes(string form) {
   istringstream in(form);
   in >> std::noskipws;
+  return add_recipes(in);
+}
+
+vector<recipe_number> add_recipes(istream& in) {
   vector<recipe_number> result;
   while (!in.eof()) {
     skip_comments_and_newlines(in);