| 15 | namespace OpenLoco::Utility |
| 16 | { |
| 17 | static std::string_view skipDigits(std::string_view s) |
| 18 | { |
| 19 | while (!s.empty() && (s[0] == '.' || s[0] == ',' || isdigit(s[0]))) |
| 20 | { |
| 21 | s = s.substr(1); |
| 22 | } |
| 23 | return s; |
| 24 | } |
| 25 | |
| 26 | static std::pair<int32_t, std::string_view> parseNextNumber(std::string_view s) |
| 27 | { |
no test coverage detected