mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Empty array initializers are a GCC extension
This commit is contained in:
+4
-4
@@ -566,11 +566,11 @@ static linkytype linkt = { 0, 0, "<a href=\"", "\"",
|
||||
* raw: just dump the link without any processing
|
||||
*/
|
||||
static linkytype specials[] = {
|
||||
{ "id:", 3, "<span id=\"", "\"", 0, ">", "</span>", {}, 0 },
|
||||
{ "id:", 3, "<span id=\"", "\"", 0, ">", "</span>", {0}, 0 },
|
||||
{ "raw:", 4, 0, 0, 0, 0, 0, { { [MKD_NOHTML] = 1 } }, 0 },
|
||||
{ "lang:", 5, "<span lang=\"", "\"", 0, ">", "</span>", {}, 0 },
|
||||
{ "abbr:", 5, "<abbr title=\"", "\"", 0, ">", "</abbr>", {}, 0 },
|
||||
{ "class:", 6, "<span class=\"", "\"", 0, ">", "</span>", {}, 0 },
|
||||
{ "lang:", 5, "<span lang=\"", "\"", 0, ">", "</span>", {0}, 0 },
|
||||
{ "abbr:", 5, "<abbr title=\"", "\"", 0, ">", "</abbr>", {0}, 0 },
|
||||
{ "class:", 6, "<span class=\"", "\"", 0, ">", "</span>", {0}, 0 },
|
||||
} ;
|
||||
|
||||
#define NR(x) (sizeof x / sizeof x[0])
|
||||
|
||||
Reference in New Issue
Block a user