From f5dfb7f7374c7e78575d0c205db391814be1b434 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 25 Oct 2015 14:57:40 -0700 Subject: 2276 --- 011load.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit 1.4.1-2-gfad0