| 101 | |
| 102 | template <char ESCAPE_CHAR = '\\'> |
| 103 | static std::string escape_string(std::string s) |
| 104 | { |
| 105 | for (size_t offset = 0; (offset = s.find(ESCAPE_CHAR, offset)) != std::string::npos; offset += 2) |
| 106 | s.insert(offset, "\\", 1); |
| 107 | return '\"' + s + '\"'; |
| 108 | } |
| 109 | |
| 110 | reshadefx::preprocessor::preprocessor() |
| 111 | { |
no outgoing calls
no test coverage detected