bootstrapping should work again
This commit is contained in:
parent
b7bb56bdca
commit
ad79b125e7
1 changed files with 1 additions and 2 deletions
|
|
@ -115,10 +115,9 @@ proc createStrKeepNode(x: var TRegister) =
|
||||||
elif x.node.kind == nkNilLit:
|
elif x.node.kind == nkNilLit:
|
||||||
system.reset(x.node[])
|
system.reset(x.node[])
|
||||||
x.node.kind = nkStrLit
|
x.node.kind = nkStrLit
|
||||||
else:
|
elif x.node.kind notin {nkStrLit..nkTripleStrLit}:
|
||||||
# XXX this is hacky; tests/txmlgen triggers it:
|
# XXX this is hacky; tests/txmlgen triggers it:
|
||||||
x.node = newNode(nkStrLit)
|
x.node = newNode(nkStrLit)
|
||||||
#if x.node.kind notin {nkStrLit..nkTripleStrLit}:
|
|
||||||
# debug x.node
|
# debug x.node
|
||||||
#assert x.node.kind in {nkStrLit..nkTripleStrLit}
|
#assert x.node.kind in {nkStrLit..nkTripleStrLit}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue