summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-02-07 18:21:13 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-02-07 18:21:13 +0100
commit28af09a44696c29572ea920b3c458eca1f1e967e (patch)
tree86364526adc4e369957657710918021b20cc1c14 /lib
parent5f2382d093b340f494f8192a88a0192a6cb8c9af (diff)
parentc3ca9bf79e1ec05ae99728f19d66869e1c675819 (diff)
downloadNim-28af09a44696c29572ea920b3c458eca1f1e967e.tar.gz
Merge pull request #2062 from flaviut/expose-exception-parent
Expose exception parent
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 8948c62a1..19836b68c 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -343,10 +343,10 @@ type
     ##
     ## Each exception has to inherit from `Exception`. See the full `exception
     ## hierarchy`_.
-    parent: ref Exception     ## parent exception (can be used as a stack)
-    name: cstring             ## The exception's name is its Nim identifier.
-                              ## This field is filled automatically in the
-                              ## ``raise`` statement.
+    parent*: ref Exception ## parent exception (can be used as a stack)
+    name: cstring ## The exception's name is its Nim identifier.
+                  ## This field is filled automatically in the
+                  ## ``raise`` statement.
     msg* {.exportc: "message".}: string ## the exception's message. Not
                                         ## providing an exception message 
                                         ## is bad style.