diff options
author | Araq <rumpf_a@web.de> | 2012-12-31 17:53:37 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-12-31 17:53:37 +0100 |
commit | 9ef367db62e6b0acff8d6c845375830080d0d77d (patch) | |
tree | 4ca735e56bbacf7ee96a2b93479ab3955c77f711 /compiler/msgs.nim | |
parent | 7d24a43e6191472171af623b85a5265550814f3a (diff) | |
download | Nim-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-x | compiler/msgs.nim | 3 |
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) |