nimsuggest: added 'chk', 'outline' and 'highlight' features

This commit is contained in:
Araq 2015-11-01 23:26:19 +01:00
commit d673fb3911
8 changed files with 167 additions and 71 deletions

View file

@ -2083,11 +2083,6 @@ proc semExport(c: PContext, n: PNode): PNode =
x.add(newSymNode(s, a.info))
strTableAdd(c.module.tab, s)
s = nextOverloadIter(o, c, a)
when false:
if c.module.ast.isNil:
c.module.ast = newNodeI(nkStmtList, n.info)
assert c.module.ast.kind == nkStmtList
c.module.ast.add x
result = n
proc shouldBeBracketExpr(n: PNode): bool =