rod files: next trivial examples working
This commit is contained in:
parent
235bd1c474
commit
dce8d3d1ab
13 changed files with 70 additions and 1034 deletions
|
|
@ -486,7 +486,7 @@ proc process(c: PPassContext, n: PNode): PNode =
|
|||
of nkProcDef, nkMethodDef, nkIteratorDef, nkConverterDef:
|
||||
var s = n.sons[namePos].sym
|
||||
if s == nil: InternalError(n.info, "rodwrite.process")
|
||||
if (n.sons[codePos] != nil) or (s.magic != mNone) or
|
||||
if (n.sons[codePos].kind != nkEmpty) or (s.magic != mNone) or
|
||||
not (sfForward in s.flags):
|
||||
addInterfaceSym(w, s)
|
||||
of nkVarSection:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue