| 2101 | } |
| 2102 | |
| 2103 | void TemplateParser::parse_comment() |
| 2104 | { |
| 2105 | size_t pos = m_text.find("#}"); |
| 2106 | if (pos == std::string::npos) |
| 2107 | { |
| 2108 | return; |
| 2109 | } |
| 2110 | |
| 2111 | std::string comment_text = m_text.substr(1, pos - 1); |
| 2112 | m_current_line += count_newlines(comment_text); |
| 2113 | |
| 2114 | check_omit_eol(pos, false); |
| 2115 | } |
| 2116 | |
| 2117 | void TemplateParser::check_omit_eol(size_t pos, bool force_omit) |
| 2118 | { |
nothing calls this directly
no test coverage detected