parent
47e21a054c
commit
75d0e4ff65
@ -262,7 +262,8 @@ void SkipWhitespace(InputStream& is) {
|
|||||||
internal::StreamLocalCopy<InputStream> copy(is);
|
internal::StreamLocalCopy<InputStream> copy(is);
|
||||||
InputStream& s(copy.s);
|
InputStream& s(copy.s);
|
||||||
|
|
||||||
while (s.Peek() == ' ' || s.Peek() == '\n' || s.Peek() == '\r' || s.Peek() == '\t')
|
typename InputStream::Ch c;
|
||||||
|
while ((c = s.Peek()) == ' ' || c == '\n' || c == '\r' || c == '\t')
|
||||||
s.Take();
|
s.Take();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user