eina_strbuf_append_char(wbuf, *desc++);
if (try_note)
{
-#define CHECK_NOTE(str) !strncmp(desc, str ": ", sizeof(str ": ") - 1)
+#define CHECK_NOTE(str) !strncmp(desc, str ": ", sizeof(str ":"))
if (CHECK_NOTE("Note"))
{
eina_strbuf_append(wbuf, "@note ");
eina_strbuf_append(wbuf, "@warning ");
desc += sizeof("Warning:");
}
+ else if (CHECK_NOTE("Remark"))
+ {
+ eina_strbuf_append(wbuf, "@remark ");
+ desc += sizeof("Remark:");
+ }
+ else if (CHECK_NOTE("TODO"))
+ {
+ eina_strbuf_append(wbuf, "@todo ");
+ desc += sizeof("TODO:");
+ }
#undef CHECK_NOTE
try_note = EINA_FALSE;
}