summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-12-12 19:00:38 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-12-12 19:07:59 -0300
commitbd0231e98b00faf9b3591b74cfbb9e1a982d2d00 (patch)
tree202f2a38eb2decf032d3135aae1d5cb42e8acbcb /src/lib/eolian_cxx/grammar/klass_def.hpp
parentca3a9133757841b0bfb65cd5862ac5ea0886626e (diff)
eolian_mono: proper parsing of doc notes and paragraphs
Summary: The documentation tokenizer relies on proper separation of paragraphs, and we were not doing that. This fixes detection of Note:, Warning:, Remark: and TODO: tags. Additionally, we were removing the blank line between the summary and the description, artificially joining them. Test Plan: Everything builds and passes tests, and docs with `Note:` tags are correctly rendered (like `Efl.Loop_Consumer.new_promise`, for example) Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10868
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index ad3b6eecbd..86fb61e8a3 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -260,7 +260,8 @@ struct documentation_def
260 str = eolian_documentation_description_get(eolian_doc); 260 str = eolian_documentation_description_get(eolian_doc);
261 if (str) { 261 if (str) {
262 description = str; 262 description = str;
263 full_text += "\n" + description; 263 // Separate summary from description with a blank line
264 full_text += "\n\n" + description;
264 } 265 }
265 266
266 str = eolian_documentation_since_get(eolian_doc); 267 str = eolian_documentation_since_get(eolian_doc);