nimsuggest: suggest types in a type section
This commit is contained in:
parent
f162ff7773
commit
b414806e66
4 changed files with 23 additions and 3 deletions
|
|
@ -1846,6 +1846,7 @@ proc parseTypeDef(p: var TParser): PNode =
|
|||
else:
|
||||
addSon(result, ast.emptyNode)
|
||||
if p.tok.tokType == tkEquals:
|
||||
result.info = parLineInfo(p)
|
||||
getTok(p)
|
||||
optInd(p, result)
|
||||
addSon(result, parseTypeDefAux(p))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue