implemented backslash for continuation comments

This commit is contained in:
Araq 2012-08-23 08:45:40 +02:00
commit bdf3bee055
6 changed files with 46 additions and 10 deletions

View file

@ -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)