| 451 | } |
| 452 | |
| 453 | [[nodiscard]] static __tz::__continuation::__rules_t __parse_rules(istream& __input) { |
| 454 | int __c = __input.peek(); |
| 455 | // A single - is not a SAVE but a special case. |
| 456 | if (__c == '-') { |
| 457 | __input.get(); |
| 458 | if (chrono::__is_whitespace(__input.peek())) |
| 459 | return monostate{}; |
| 460 | __input.unget(); |
| 461 | return chrono::__parse_save(__input); |
| 462 | } |
| 463 | |
| 464 | if (std::isdigit(__c) || __c == '+') |
| 465 | return chrono::__parse_save(__input); |
| 466 | |
| 467 | return chrono::__parse_string(__input); |
| 468 | } |
| 469 | |
| 470 | [[nodiscard]] static __tz::__continuation __parse_continuation(__tz::__rules_storage_type& __rules, istream& __input) { |
| 471 | __tz::__continuation __result; |
no test coverage detected