From 34d3c042af7f70ce579c5ea76c8ca22298da368c Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 29 Feb 2012 00:04:34 +0100 Subject: c2nim, pas2nim compile again --- compiler/c2nim/clex.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/c2nim') 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 -- cgit 1.4.1-2-gfad0