about summary refs log tree commit diff stats
path: root/011load.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-25 14:57:40 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-25 14:57:40 -0700
commitf5dfb7f7374c7e78575d0c205db391814be1b434 (patch)
treee3649afb4c179689afa0c3f1f148b3b429551c9d /011load.cc
parent4ad0f65247a3e06e4b5428abf85e57ecb0f5311b (diff)
downloadmu-f5dfb7f7374c7e78575d0c205db391814be1b434.tar.gz
2276
Diffstat (limited to '011load.cc')
-rw-r--r--011load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/011load.cc b/011load.cc
index 499583da..d06476b0 100644
--- a/011load.cc
+++ b/011load.cc
@@ -60,6 +60,7 @@ long long int slurp_recipe(istream& in) {
 }
 
 recipe slurp_body(istream& in) {
+  in >> std::noskipws;
   recipe result;
   skip_whitespace(in);
   if (in.get() != '[')
@@ -74,7 +75,6 @@ recipe slurp_body(istream& in) {
 }
 
 bool next_instruction(istream& in, instruction* curr) {
-  in >> std::noskipws;
   curr->clear();
   if (in.eof()) {
     raise_error << "0: unbalanced '[' for recipe\n" << end();