about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-14 19:23:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-14 19:23:58 -0700
commitadf83be9dc303fb7f94e4b73ed0a2d8f70c69c32 (patch)
tree2e707bd9e69e0bcd46ec81f72230f541181638c4 /cpp
parent10e449b50139123b09217f81d4a11effe9efaa9e (diff)
downloadmu-adf83be9dc303fb7f94e4b73ed0a2d8f70c69c32.tar.gz
916
Diffstat (limited to 'cpp')
-rw-r--r--cpp/011load2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/011load b/cpp/011load
index b53063c5..da8dd3ae 100644
--- a/cpp/011load
+++ b/cpp/011load
@@ -11,13 +11,13 @@ recipe main [
 :(code)
 int add_recipes(string form) {
   istringstream in(form);
-  in >> std::noskipws;
   int result = add_recipe(in);
   while (!in.eof()) add_recipe(in);
   return result;
 }
 
 int add_recipe(istringstream& in) {
+  in >> std::noskipws;
   skip_comments_and_newlines(in);
   string _recipe = next_word(in);
   if (_recipe != "recipe")