diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-04-26 10:48:48 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-04-26 10:48:48 (GMT) |
commit | 3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68 (patch) | |
tree | 5b1b526ababed94fc83b11349dd828da3bf11882 /src/docparser.h | |
parent | da2223bed0d63aef0bb6b9e583b90f7319363586 (diff) | |
download | Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.zip Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.tar.gz Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.tar.bz2 |
Release-1.7.4-20110426
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h index 39f0fe5..6ad4457 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -69,7 +69,7 @@ DocNode *validatingParseDoc(const char *fileName,int startLine, /*! Main entry point for parsing simple text fragments. These * fragments are limited to words, whitespace and symbols. */ -DocNode *validatingParseText(const char *input); +DocNode *validatingParseText(const char *input,bool forceBreaks=FALSE); /*! Searches for section and anchor commands in the input */ void docFindSections(const char *input, @@ -1195,10 +1195,14 @@ class DocHtmlTable : public CompAccept<DocHtmlTable>, public DocNode class DocText : public CompAccept<DocText>, public DocNode { public: - DocText() {} + DocText(bool forceBreaks) : m_forceBreaks(forceBreaks) {} Kind kind() const { return Kind_Text; } void accept(DocVisitor *v) { CompAccept<DocText>::accept(this,v); } void parse(); + bool forceBreaks() const { return m_forceBreaks; } + + private: + bool m_forceBreaks; }; /*! @brief Root node of documentation tree */ |