Merge branch 'devel' of github.com:nim-lang/Nim into devel

This commit is contained in:
Andreas Rumpf
2018-03-16 15:33:16 +01:00

View File

@@ -1490,7 +1490,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
c.debug[pc])
x.flags.incl nfIsRef
# prevent crashes in the compiler resulting from wrong macros:
if x.kind == nkIdent: x.ident = getIdent""
if x.kind == nkIdent: x.ident = c.cache.emptyIdent
regs[ra].node = x
of opcNCopyNimNode:
decodeB(rkNode)