astyle formatting
This commit is contained in:
parent
769b4617c3
commit
11abd23fa7
|
@ -795,14 +795,14 @@ private:
|
||||||
Preprocessor preprocessor(&settings, this);
|
Preprocessor preprocessor(&settings, this);
|
||||||
preprocessor.preprocess(istr, actual, "file.c"); // <- don't crash
|
preprocessor.preprocess(istr, actual, "file.c"); // <- don't crash
|
||||||
}
|
}
|
||||||
|
|
||||||
void test10() { // Ticket #5139
|
void test10() { // Ticket #5139
|
||||||
const char filedata[] = "#define foo a.foo\n"
|
const char filedata[] = "#define foo a.foo\n"
|
||||||
"#define bar foo\n"
|
"#define bar foo\n"
|
||||||
"#define baz bar+0\n"
|
"#define baz bar+0\n"
|
||||||
"#if 0\n"
|
"#if 0\n"
|
||||||
"#endif";
|
"#endif";
|
||||||
|
|
||||||
// Preprocess => actual result..
|
// Preprocess => actual result..
|
||||||
std::istringstream istr(filedata);
|
std::istringstream istr(filedata);
|
||||||
std::map<std::string, std::string> actual;
|
std::map<std::string, std::string> actual;
|
||||||
|
|
Loading…
Reference in New Issue