| 583 | #define tokenizeDebugListing(...) tokenizeDebugListing_(__FILE__, __LINE__, __VA_ARGS__) |
| 584 | template<size_t size> |
| 585 | std::string tokenizeDebugListing_(const char* file, int line, const char (&code)[size], bool cpp = true) { |
| 586 | SimpleTokenizer tokenizer(settings3, *this, cpp); |
| 587 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 588 | |
| 589 | // result.. |
| 590 | return tokenizer.tokens()->stringifyList(true,true,true,true,false); |
| 591 | } |
| 592 | |
| 593 | template<size_t size> |
| 594 | void directiveDump(const char (&code)[size], std::ostream& ostr) { |
nothing calls this directly
no test coverage detected