diff options
-rw-r--r-- | 038---literal_strings.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/038---literal_strings.cc b/038---literal_strings.cc index 48d46108..ba609f6b 100644 --- a/038---literal_strings.cc +++ b/038---literal_strings.cc @@ -189,9 +189,8 @@ void parse_instruction_character_by_character(const string& line_data, vector<li } void skip_whitespace(istream& in) { - while (true) { - if (has_data(in) && isspace(in.peek())) in.get(); - else break; + while (has_data(in) && isspace(in.peek())) { + in.get(); } } |