diff options
author | Araq <rumpf_a@web.de> | 2014-02-25 18:08:40 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-25 18:08:40 +0100 |
commit | ad79b125e7ae9a703b8ea900ea3dd760ee1ff0c9 (patch) | |
tree | 90f106d6a4be049963dbe4a2fbd4c399e307d848 /compiler/vm.nim | |
parent | b7bb56bdca9ced8fdc0dea18dc54f732c6e17d3e (diff) | |
download | Nim-ad79b125e7ae9a703b8ea900ea3dd760ee1ff0c9.tar.gz |
bootstrapping should work again
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r-- | compiler/vm.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim index 108979739..0a3c17e8e 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -115,10 +115,9 @@ proc createStrKeepNode(x: var TRegister) = elif x.node.kind == nkNilLit: system.reset(x.node[]) x.node.kind = nkStrLit - else: + elif x.node.kind notin {nkStrLit..nkTripleStrLit}: # XXX this is hacky; tests/txmlgen triggers it: x.node = newNode(nkStrLit) - #if x.node.kind notin {nkStrLit..nkTripleStrLit}: # debug x.node #assert x.node.kind in {nkStrLit..nkTripleStrLit} |