mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
fixes Nim's bigbang regression
This commit is contained in:
@@ -67,9 +67,9 @@ proc parseLine(p: var TTmplParser) =
|
||||
keyw: string
|
||||
j = 0
|
||||
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)
|
||||
elif (p.x[j] == p.nimDirective):
|
||||
elif p.x[j] == p.nimDirective:
|
||||
newLine(p)
|
||||
inc(j)
|
||||
while p.x[j] == ' ': inc(j)
|
||||
|
||||
Reference in New Issue
Block a user