summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/docs_generator.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index e91d59ea1a..9c7a482fa1 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -31,6 +31,21 @@ _append_section(const char *desc, int ind, int curl, Eina_Strbuf *buf,
31 eina_strbuf_reset(wbuf); 31 eina_strbuf_reset(wbuf);
32 while (*desc && isspace(*desc) && (*desc != '\n')) 32 while (*desc && isspace(*desc) && (*desc != '\n'))
33 eina_strbuf_append_char(wbuf, *desc++); 33 eina_strbuf_append_char(wbuf, *desc++);
34 if (*desc == '\\')
35 {
36 desc++;
37 if (*desc != '@')
38 eina_strbuf_append_char(wbuf, '\\');
39 eina_strbuf_append_char(wbuf, *desc++);
40 }
41 else if (*desc == '@')
42 {
43 desc++;
44 if (isalpha(*desc))
45 eina_strbuf_append(wbuf, "@ref ");
46 else
47 eina_strbuf_append_char(wbuf, '@');
48 }
34 while (*desc && !isspace(*desc)) 49 while (*desc && !isspace(*desc))
35 eina_strbuf_append_char(wbuf, *desc++); 50 eina_strbuf_append_char(wbuf, *desc++);
36 int limit = DOC_LIMIT(ind); 51 int limit = DOC_LIMIT(ind);