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:
|
||||
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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue