q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c9462b56c842501aee4e06f4a126f900437d3f98

commit c9462b56c842501aee4e06f4a126f900437d3f98
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Wed Sep 16 14:24:16 2015 +0100

    eolian/generator: support for more paragraph tags
---
 src/bin/eolian/docs_generator.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index bf4eb67..eb008bd 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -130,7 +130,7 @@ _append_section(const char *desc, int ind, int curl, 
Eina_Strbuf *buf,
           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 ");
@@ -141,6 +141,16 @@ _append_section(const char *desc, int ind, int curl, 
Eina_Strbuf *buf,
                   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;
           }

-- 


Reply via email to