This commit is contained in:
Araq 2014-05-05 23:29:46 +02:00
commit a11ae9248f
2 changed files with 3 additions and 1 deletions

View file

@ -331,6 +331,7 @@ proc canonValue*(n: PNode): PNode =
proc rawGenLiteral(c: PCtx; n: PNode): int =
result = c.constants.len
assert(n.kind != nkCall)
n.flags.incl nfAllConst
c.constants.add n.canonValue
internalAssert result < 0x7fff