summaryrefslogtreecommitdiff
path: root/src/bin/eolian/docs_generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian/docs_generator.c')
-rw-r--r--src/bin/eolian/docs_generator.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index 41b506d95a..5d872d3af1 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -34,7 +34,7 @@ _append_section(const char *desc, int ind, int curl, Eina_Strbuf *buf,
34 if (*desc == '\\') 34 if (*desc == '\\')
35 { 35 {
36 desc++; 36 desc++;
37 if (*desc != '@') 37 if ((*desc != '@') && (*desc != '$'))
38 eina_strbuf_append_char(wbuf, '\\'); 38 eina_strbuf_append_char(wbuf, '\\');
39 eina_strbuf_append_char(wbuf, *desc++); 39 eina_strbuf_append_char(wbuf, *desc++);
40 } 40 }
@@ -46,6 +46,14 @@ _append_section(const char *desc, int ind, int curl, Eina_Strbuf *buf,
46 else 46 else
47 eina_strbuf_append_char(wbuf, '@'); 47 eina_strbuf_append_char(wbuf, '@');
48 } 48 }
49 else if (*desc == '$')
50 {
51 desc++;
52 if (isalpha(*desc))
53 eina_strbuf_append(wbuf, "@c ");
54 else
55 eina_strbuf_append_char(wbuf, '@');
56 }
49 while (*desc && !isspace(*desc)) 57 while (*desc && !isspace(*desc))
50 eina_strbuf_append_char(wbuf, *desc++); 58 eina_strbuf_append_char(wbuf, *desc++);
51 int limit = DOC_LIMIT(ind); 59 int limit = DOC_LIMIT(ind);