| 478 | }; |
| 479 | |
| 480 | static std::string tolf(const std::string &str) { |
| 481 | std::string result; |
| 482 | for (char ch : str) { |
| 483 | if (ch != '\r') { |
| 484 | result += ch; |
| 485 | } |
| 486 | } |
| 487 | return result; |
| 488 | } |
| 489 | |
| 490 | struct Generator { |
| 491 | Generator(const parser::Project &project, fs::path path) : project(project), path(std::move(path)) { |