implemented backslash for continuation comments
This commit is contained in:
parent
c4c0c41d61
commit
bdf3bee055
6 changed files with 46 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue