Commit 9bf73235 authored by Rusty Russell's avatar Rusty Russell

ccan_tokenizer: don't assume __VA_ARGS__ can be empty.

That's a gcc extension.
parent 6569a707
......@@ -915,7 +915,7 @@ struct tokenizer_msg_test {
#define M(...) array_count_pair(const char *, __VA_ARGS__)
struct tokenizer_test tokenizer_tests[] = {
T(""),
{ "", 0, 0 },
T("\n",
{.type = TOK_WHITE, txt("\n")}
),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment