https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124513

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The first peek also fails to parse a line ending in "-" or "-s"

    istream& operator>>(istream& in, at_time& at)
    {
      int sign = 1;
      if (in.peek() == '-')

That should be ws(in).peek() so that we skip whitespace.

Reply via email to