diff options
author | Araq <rumpf_a@web.de> | 2012-02-29 00:04:34 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-02-29 00:04:34 +0100 |
commit | 34d3c042af7f70ce579c5ea76c8ca22298da368c (patch) | |
tree | 96e3626953ce9c6870e39d2a19751bf14c94325c /compiler/c2nim | |
parent | f5eddcf9b663cd5ca2aef3cdf545b03388cba646 (diff) | |
download | Nim-34d3c042af7f70ce579c5ea76c8ca22298da368c.tar.gz |
c2nim, pas2nim compile again
Diffstat (limited to 'compiler/c2nim')
-rwxr-xr-x | compiler/c2nim/clex.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/c2nim/clex.nim b/compiler/c2nim/clex.nim index 1894fa99f..db8527aa0 100755 --- a/compiler/c2nim/clex.nim +++ b/compiler/c2nim/clex.nim @@ -130,11 +130,11 @@ proc getLineInfo*(L: TLexer): TLineInfo = result = newLineInfo(L.fileIdx, L.linenumber, getColNumber(L, L.bufpos)) proc lexMessage*(L: TLexer, msg: TMsgKind, arg = "") = - msgs.GenericMessage(getLineInfo(L), msg, arg) + msgs.GlobalError(getLineInfo(L), msg, arg) proc lexMessagePos(L: var TLexer, msg: TMsgKind, pos: int, arg = "") = var info = newLineInfo(L.fileIdx, L.linenumber, pos - L.lineStart) - msgs.GenericMessage(info, msg, arg) + msgs.GlobalError(info, msg, arg) proc TokKindToStr*(k: TTokKind): string = case k |