mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
bootstrapping should work again
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user