diff options
Diffstat (limited to 'cpp/011load')
-rw-r--r-- | cpp/011load | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/011load b/cpp/011load index 696c99f7..1e86ae3d 100644 --- a/cpp/011load +++ b/cpp/011load @@ -35,7 +35,8 @@ recipe_number add_recipe(istream& in) { recipe_number r = Recipe_number[recipe_name]; //? cout << recipe_name << ": adding recipe " << r << '\n'; //? 3 - if (next_word(in) != "[") + skip_whitespace(in); + if (in.get() != '[') raise << "recipe body must begin with '['\n"; skip_comments_and_newlines(in); |