Cleanup
This commit is contained in:
parent
9ee67da1c2
commit
fb053dd81e
3 changed files with 16 additions and 13 deletions
|
|
@ -228,6 +228,9 @@ proc pDeclaration*(node: ref Ast) =
|
||||||
pFunctionDeclarator(node.children[1], styp)
|
pFunctionDeclarator(node.children[1], styp)
|
||||||
|
|
||||||
proc genNimAst*(node: ref Ast) =
|
proc genNimAst*(node: ref Ast) =
|
||||||
|
if node.isNil:
|
||||||
|
return
|
||||||
|
|
||||||
case node.sym:
|
case node.sym:
|
||||||
of ERROR:
|
of ERROR:
|
||||||
let (line, col) = getLineCol(node)
|
let (line, col) = getLineCol(node)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue