fixed typos so docgen works again

This commit is contained in:
Araq 2014-12-20 22:39:05 +01:00
commit 7deb8b2e7b
4 changed files with 4 additions and 3 deletions

View file

@ -729,7 +729,7 @@ proc semOverloadedCallAnalyseEffects(c: PContext, n: PNode, nOrig: PNode,
case callee.kind
of skMacro, skTemplate: discard
else:
if (callee.kind in skIterators) and (callee.id == c.p.owner.id):
if callee.kind in skIterators and callee.id == c.p.owner.id:
localError(n.info, errRecursiveDependencyX, callee.name.s)
if sfNoSideEffect notin callee.flags:
if {sfImportc, sfSideEffect} * callee.flags != {}: