Typeinfo for uints in javascript
This commit is contained in:
parent
3aad16e337
commit
b72528d635
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ proc genTypeInfo(p: PProc, typ: PType): PRope =
|
||||||
case t.kind
|
case t.kind
|
||||||
of tyDistinct:
|
of tyDistinct:
|
||||||
result = genTypeInfo(p, typ.sons[0])
|
result = genTypeInfo(p, typ.sons[0])
|
||||||
of tyPointer, tyProc, tyBool, tyChar, tyCString, tyString, tyInt..tyFloat128:
|
of tyPointer, tyProc, tyBool, tyChar, tyCString, tyString, tyInt..tyUInt64:
|
||||||
var s = ropef(
|
var s = ropef(
|
||||||
"var $1 = {size: 0,kind: $2,base: null,node: null,finalizer: null};$n",
|
"var $1 = {size: 0,kind: $2,base: null,node: null,finalizer: null};$n",
|
||||||
[result, toRope(ord(t.kind))])
|
[result, toRope(ord(t.kind))])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue