summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 73b470052..ad1cbd423 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -384,11 +384,11 @@ type
     ##
     ## This happens for calculations whose results are too large to fit in the
     ## provided bits.  See the full `exception hierarchy`_.
-  AccessViolationError* {.compilerproc.} = object of Exception ## \
+  AccessViolationError* = object of Exception ## \
     ## Raised for invalid memory access errors
     ##
     ## See the full `exception hierarchy`_.
-  AssertionError* {.compilerproc.} = object of Exception ## \
+  AssertionError* = object of Exception ## \
     ## Raised when assertion is proved wrong.
     ##
     ## Usually the result of using the `assert() template <#assert>`_.  See the
@@ -496,7 +496,8 @@ type
   EFloatingPoint: FloatingPointError,
   EFloatInvalidOp: FloatInvalidOpError,
   EFloatDivByZero: FloatDivByZeroError,
-  EFloatOverflow: FloatOverflowError
+  EFloatOverflow: FloatOverflowError,
+  ESynch: Exception
 ].}
 
 proc sizeof*[T](x: T): Natural {.magic: "SizeOf", noSideEffect.}