bugfixes; field discriminant checks; linearScanEnd, unroll, shallow pragmas
This commit is contained in:
parent
8d734244b1
commit
5b789f2da8
45 changed files with 2342 additions and 243 deletions
|
|
@ -432,7 +432,7 @@ proc matchesHyperlink(h: PRstNode, filename: string): bool =
|
|||
result = matchesHyperlink(h.sons[0], filename)
|
||||
elif h.kind == rnHyperlink:
|
||||
var s = addNodes(h.sons[1])
|
||||
if startsWith(s, filename) and (s[len(filename) + 0] == '#'): result = true
|
||||
if startsWith(s, filename) and (s[len(filename)] == '#'): result = true
|
||||
else: result = false
|
||||
else:
|
||||
result = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue