| 546 | } |
| 547 | |
| 548 | static void __parse_rule(tzdb& __tzdb, __tz::__rules_storage_type& __rules, istream& __input) { |
| 549 | chrono::__skip_mandatory_whitespace(__input); |
| 550 | string __name = chrono::__parse_string(__input); |
| 551 | |
| 552 | __tz::__rule& __rule = __create_entry(__rules, __name); |
| 553 | |
| 554 | chrono::__skip_mandatory_whitespace(__input); |
| 555 | __rule.__from = chrono::__parse_year(__input); |
| 556 | chrono::__skip_mandatory_whitespace(__input); |
| 557 | __rule.__to = chrono::__parse_to(__input, __rule.__from); |
| 558 | chrono::__skip_mandatory_whitespace(__input); |
| 559 | chrono::__matches(__input, '-'); |
| 560 | chrono::__skip_mandatory_whitespace(__input); |
| 561 | __rule.__in = chrono::__parse_month(__input); |
| 562 | chrono::__skip_mandatory_whitespace(__input); |
| 563 | __rule.__on = chrono::__parse_on(__input); |
| 564 | chrono::__skip_mandatory_whitespace(__input); |
| 565 | __rule.__at = __parse_at(__input); |
| 566 | chrono::__skip_mandatory_whitespace(__input); |
| 567 | __rule.__save = __parse_save(__input); |
| 568 | chrono::__skip_mandatory_whitespace(__input); |
| 569 | __rule.__letters = chrono::__parse_letters(__input); |
| 570 | chrono::__skip_line(__input); |
| 571 | } |
| 572 | |
| 573 | static void __parse_zone(tzdb& __tzdb, __tz::__rules_storage_type& __rules, istream& __input) { |
| 574 | chrono::__skip_mandatory_whitespace(__input); |
no test coverage detected