diff options
author | Daniel Zaoui <daniel.zaoui@samsung.com> | 2014-03-05 10:04:25 +0200 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@samsung.com> | 2014-03-06 15:12:51 +0200 |
commit | 232a3cf5fcc4312f6550d28e5d21607a6a7da637 (patch) | |
tree | 185aa5d6464bdd2101a33ad78e9e8dd62e7c255d /src | |
parent | 46f6ef0ccc93ce56c35b3b11b0c310b7bf8f9c43 (diff) |
Eolian/Generator: Fix comments generation in headers.
Trailing whitespaces were added in description empty lines.
Diffstat (limited to '')
-rw-r--r-- | src/bin/eolian/eo1_generator.c | 1 | ||||
-rw-r--r-- | src/bin/eolian/legacy_generator.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c index 478ddd9289..f41a72f04e 100644 --- a/src/bin/eolian/eo1_generator.c +++ b/src/bin/eolian/eo1_generator.c | |||
@@ -152,6 +152,7 @@ eo1_fundef_generate(const char *classname, Eolian_Function func, Eolian_Function | |||
152 | if (eina_strbuf_length_get(linedesc)) | 152 | if (eina_strbuf_length_get(linedesc)) |
153 | { | 153 | { |
154 | eina_strbuf_replace_all(linedesc, "\n", "\n * "); | 154 | eina_strbuf_replace_all(linedesc, "\n", "\n * "); |
155 | eina_strbuf_replace_all(linedesc, " * \n", " *\n"); | ||
155 | eina_strbuf_prepend(linedesc, " * "); | 156 | eina_strbuf_prepend(linedesc, " * "); |
156 | } | 157 | } |
157 | else | 158 | else |
diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c index d2a9394698..bb93dd27ce 100644 --- a/src/bin/eolian/legacy_generator.c +++ b/src/bin/eolian/legacy_generator.c | |||
@@ -87,6 +87,7 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F | |||
87 | if (eina_strbuf_length_get(linedesc)) | 87 | if (eina_strbuf_length_get(linedesc)) |
88 | { | 88 | { |
89 | eina_strbuf_replace_all(linedesc, "\n", "\n * "); | 89 | eina_strbuf_replace_all(linedesc, "\n", "\n * "); |
90 | eina_strbuf_replace_all(linedesc, " * \n", " *\n"); | ||
90 | eina_strbuf_prepend(linedesc," * "); | 91 | eina_strbuf_prepend(linedesc," * "); |
91 | } | 92 | } |
92 | else | 93 | else |