diff options
author | Araq <rumpf_a@web.de> | 2012-08-23 08:45:40 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-08-23 08:45:40 +0200 |
commit | bdf3bee05510718581510cb78fa70ca183039d55 (patch) | |
tree | 62565e928efae42082004f904c1d4467f51ce013 /packages | |
parent | c4c0c41d616f1859aa588f50a422aed608df6b77 (diff) | |
download | Nim-bdf3bee05510718581510cb78fa70ca183039d55.tar.gz |
implemented backslash for continuation comments
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/docutils/rst.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/docutils/rst.nim b/packages/docutils/rst.nim index ed8e2b7a9..333ef11d9 100755 --- a/packages/docutils/rst.nim +++ b/packages/docutils/rst.nim @@ -648,8 +648,8 @@ proc parseBackslash(p: var TRstParser, father: PRstNode) = # XXX: Unicode? inc(p.idx) if p.tok[p.idx].kind != tkWhite: add(father, newLeaf(p)) - inc(p.idx) - else: + if p.tok[p.idx].kind != tkEof: inc(p.idx) + else: add(father, newLeaf(p)) inc(p.idx) |