You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b833a75
Browse filesBrowse the repository at this point in the historyBrowse files
ASSERT_EQUALS("file0,1,syntax_error,failed to expand 'f', Invalid ## usage when expanding 'f': Unexpected token '('\n", toString(outputList));
2137
+
ASSERT_EQUALS("file0,1,syntax_error,failed to expand 'f', Invalid ## usage when expanding 'f': Combining '(' and 'x' yields an invalid token.\n", toString(outputList));
ASSERT_EQUALS("file0,1,syntax_error,failed to expand 'cat', Invalid ## usage when expanding 'cat': Combining '+' and 'x' yields an invalid token.\n", toString(outputList));
2211
+
}
2212
+
2191
2213
staticvoidhashhash_va_args_unexpected()
2192
2214
{
2193
2215
constchar code[] =
2194
2216
"#define C(...)!##__VA_ARGS__\n"
2195
2217
"C(1)\n";
2196
2218
simplecpp::OutputList outputList;
2197
2219
preprocess(code, simplecpp::DUI(), &outputList);
2198
-
ASSERT_EQUALS("file0,1,syntax_error,failed to expand 'C', Invalid ## usage when expanding 'C': Unexpected token '!'\n", toString(outputList));
2220
+
ASSERT_EQUALS("file0,1,syntax_error,failed to expand 'C', Invalid ## usage when expanding 'C': Combining '!' and '1' yields an invalid token.\n", toString(outputList));
0 commit comments