diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-04-26 10:48:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-04-26 10:48:48 (GMT) |
commit | c604d141eb8b0708022a3e4b48b0b1871b692aa6 (patch) | |
tree | 5b1b526ababed94fc83b11349dd828da3bf11882 /src/docparser.h | |
parent | 145b564516f82be1bb4cc5a82277e7c9d10ca5ca (diff) | |
download | Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.zip Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.tar.gz Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.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 */ |