From ad79b125e7ae9a703b8ea900ea3dd760ee1ff0c9 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 25 Feb 2014 18:08:40 +0100 Subject: bootstrapping should work again --- compiler/vm.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/vm.nim') 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} -- cgit 1.4.1-2-gfad0 selected='selected'>devel This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/web/nimrod.ini
blob: 36252deb6348c272352b7f97fa9b88bb27c3f06f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81