summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorDanil Yarantsev <tiberiumk12@gmail.com>2021-05-06 23:33:57 +0300
committerGitHub <noreply@github.com>2021-05-06 22:33:57 +0200
commit9b126de65cdb6c8b59e0eb58763ca2878f456e0d (patch)
tree58ac28004c47bf343326ada1bbdabe9259194fd4 /lib/system
parent39e0a5322a7555a80e583895fc729b7390d71db4 (diff)
downloadNim-9b126de65cdb6c8b59e0eb58763ca2878f456e0d.tar.gz
Fix C++ compilation error in excpt.nim (#17951)
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/excpt.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index 8ba3a1601..5b7d4d49f 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -444,7 +444,7 @@ proc raiseExceptionAux(e: sink(ref Exception)) {.nodestroy.} =
       {.emit: "throw;".}
     else:
       pushCurrentException(e)
-      {.emit: "throw e;".}
+      {.emit: "throw `e`;".}
   elif defined(nimQuirky) or gotoBasedExceptions:
     # XXX This check should likely also be done in the setjmp case below.
     if e != currException:
toonn <toonn@toonn.io> 2021-07-20 23:17:45 +0200 tags: Refactor version conditional open' href='/akspecs/ranger/commit/ranger/container/tags.py?id=ec3930e9d67de0eab28b856f4a7cf1948725e08d'>ec3930e9 ^
dc91c286 ^

eaaeed3d ^
ab41c776 ^
0e02abbe ^
d1a1173d ^



0e02abbe ^



d1a1173d ^

d1a1173d ^





01e4174a ^
ffbc0e2a ^
be73715d ^
d1a1173d ^





01e4174a ^
ffbc0e2a ^
d1a1173d ^


b3d031a9 ^
d1a1173d ^




01e4174a ^
ffbc0e2a ^
be73715d ^
d1a1173d ^






b3d031a9 ^
d1a1173d ^








84a22ae0 ^
d1a1173d ^

478e4843 ^
ec3930e9 ^
478e4843 ^
0d704c74 ^
0e02abbe ^



d1a1173d ^


478e4843 ^

0e02abbe ^

d1a1173d ^
b3d031a9 ^
d1a1173d ^


b3d031a9 ^
d1a1173d ^
b3d031a9 ^
d1a1173d ^
b3d031a9 ^
d1a1173d ^
b3d031a9 ^
8401c45a ^
d1a1173d ^








df4c2ca5 ^









478e4843 ^
df4c2ca5 ^





d1a1173d ^


489a446c ^







b3d031a9 ^
489a446c ^







84a22ae0 ^
489a446c ^













b3d031a9 ^
489a446c ^

b3d031a9 ^
489a446c ^
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170