make trecinca|b tests green
This commit is contained in:
parent
9fdfda136c
commit
d25fefc0ff
6 changed files with 11 additions and 6 deletions
|
|
@ -802,7 +802,7 @@ proc evalInclude(c: PContext, n: PNode): PNode =
|
|||
var f = checkModuleName(n.sons[i])
|
||||
var fileIndex = f.fileInfoIdx
|
||||
if ContainsOrIncl(c.includedFiles, fileIndex):
|
||||
GlobalError(n.info, errRecursiveDependencyX, f)
|
||||
GlobalError(n.info, errRecursiveDependencyX, f.shortenDir)
|
||||
addSon(result, semStmt(c, gIncludeFile(f)))
|
||||
Excl(c.includedFiles, fileIndex)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue