summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-31 17:53:37 +0100
committerAraq <rumpf_a@web.de>2012-12-31 17:53:37 +0100
commit9ef367db62e6b0acff8d6c845375830080d0d77d (patch)
tree4ca735e56bbacf7ee96a2b93479ab3955c77f711 /compiler/msgs.nim
parent7d24a43e6191472171af623b85a5265550814f3a (diff)
downloadNim-9ef367db62e6b0acff8d6c845375830080d0d77d.tar.gz
fixed a newly introduced c2nim bug; many untested improvements to the FFI at compile time
Diffstat (limited to 'compiler/msgs.nim')
-rwxr-xr-xcompiler/msgs.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index d88e4a513..16603a9a8 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -696,6 +696,9 @@ proc Fatal*(info: TLineInfo, msg: TMsgKind, arg = "") =
 proc GlobalError*(info: TLineInfo, msg: TMsgKind, arg = "") = 
   liMessage(info, msg, arg, doRaise)
 
+proc GlobalError*(info: TLineInfo, arg: string) =
+  liMessage(info, errGenerated, arg, doRaise)
+
 proc LocalError*(info: TLineInfo, msg: TMsgKind, arg = "") =
   liMessage(info, msg, arg, doNothing)