fixed a newly introduced c2nim bug; many untested improvements to the FFI at compile time

This commit is contained in:
Araq 2012-12-31 17:53:37 +01:00
commit 9ef367db62
6 changed files with 225 additions and 47 deletions

View file

@ -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)