about summary refs log tree commit diff stats
path: root/cpp/013run
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/013run')
-rw-r--r--cpp/013run2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/013run b/cpp/013run
index e5da06f3..6888d8f5 100644
--- a/cpp/013run
+++ b/cpp/013run
@@ -99,7 +99,7 @@ if (argc > 1) {
 :(code)
 void load(string filename) {
   ifstream fin(filename.c_str());
-  while (!fin.eof()) add_recipe(fin);
+  add_recipes(fin);
   fin.close();
 }