fixes Nim's bigbang regression
This commit is contained in:
parent
a92f3bead3
commit
051e418129
1 changed files with 2 additions and 2 deletions
|
|
@ -67,9 +67,9 @@ proc parseLine(p: var TTmplParser) =
|
||||||
keyw: string
|
keyw: string
|
||||||
j = 0
|
j = 0
|
||||||
while p.x[j] == ' ': inc(j)
|
while p.x[j] == ' ': inc(j)
|
||||||
if (p.x[0] == p.nimDirective) and (p.x[0 + 1] == '!'):
|
if p.x[0] == p.nimDirective and p.x[1] in {'?', '!'}:
|
||||||
newLine(p)
|
newLine(p)
|
||||||
elif (p.x[j] == p.nimDirective):
|
elif p.x[j] == p.nimDirective:
|
||||||
newLine(p)
|
newLine(p)
|
||||||
inc(j)
|
inc(j)
|
||||||
while p.x[j] == ' ': inc(j)
|
while p.x[j] == ' ': inc(j)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue