diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2011-09-09 16:24:39 +0200 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2012-01-27 17:06:57 +0100 |
| commit | 39bc95a7a94590411f7bbed42ed532895f1044aa (patch) | |
| tree | d4016e2807668769220938ff3c148dd881fb3707 /src | |
| parent | c33244ff8c495202c12c468355b53e52a3ba7cdf (diff) | |
Improved the mdown2::paragraph_p parser.master
It is no longer required to have an empty line at the end of a file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/parsers/mdown2/paragraph_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parsers/mdown2/paragraph_p.cpp b/src/parsers/mdown2/paragraph_p.cpp index 3d8e987..aa936c7 100644 --- a/src/parsers/mdown2/paragraph_p.cpp +++ b/src/parsers/mdown2/paragraph_p.cpp @@ -16,5 +16,5 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "paragraph_p.h" mdown2::paragraph_p::paragraph_p() : paragraph_p::base_type(paragraph_) { - paragraph_ = heading_ | (+line_ > qi::eol); + paragraph_ = heading_ | (+line_ > (qi::eol | qi::eoi)); } |
