Merge branch 'devel' into sighashes
This commit is contained in:
commit
2eee15d7f3
27 changed files with 333 additions and 128 deletions
|
|
@ -114,6 +114,10 @@ proc createObj*(owner: PSym, info: TLineInfo): PType =
|
|||
rawAddSon(result, nil)
|
||||
incl result.flags, tfFinal
|
||||
result.n = newNodeI(nkRecList, info)
|
||||
let s = newSym(skType, getIdent("Env_" & info.toFilename & "_" & $info.line),
|
||||
owner, info)
|
||||
s.typ = result
|
||||
result.sym = s
|
||||
|
||||
proc rawAddField*(obj: PType; field: PSym) =
|
||||
assert field.kind == skField
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue