Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
commit
e0092cfae6
54 changed files with 1980 additions and 1251 deletions
|
|
@ -235,6 +235,8 @@ proc getNullValue(typ: PType, info: TLineInfo): PNode =
|
|||
case t.kind
|
||||
of tyBool, tyEnum, tyChar, tyInt..tyInt64:
|
||||
result = newNodeIT(nkIntLit, info, t)
|
||||
of tyUInt..tyUInt64:
|
||||
result = newNodeIT(nkUIntLit, info, t)
|
||||
of tyFloat..tyFloat128:
|
||||
result = newNodeIt(nkFloatLit, info, t)
|
||||
of tyVar, tyPointer, tyPtr, tyRef, tyCString, tySequence, tyString, tyExpr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue