diff options
author | Araq <rumpf_a@web.de> | 2011-02-12 19:24:20 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-12 19:24:20 +0100 |
commit | 5b28d08203ba36e84c8e381761db182c0393d07f (patch) | |
tree | 9f1fdcb65d8617b65672305327a208bb030405c7 /rod/pas2nim/paslex.nim | |
parent | 27dc54cbda0beffe8bca36d9cc59cccaf0b2d30f (diff) | |
download | Nim-5b28d08203ba36e84c8e381761db182c0393d07f.tar.gz |
non-nil AST; continue after errors for IDE support
Diffstat (limited to 'rod/pas2nim/paslex.nim')
-rwxr-xr-x | rod/pas2nim/paslex.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rod/pas2nim/paslex.nim b/rod/pas2nim/paslex.nim index 193a45001..ed554bdc2 100755 --- a/rod/pas2nim/paslex.nim +++ b/rod/pas2nim/paslex.nim @@ -109,11 +109,11 @@ proc getLineInfo*(L: TLexer): TLineInfo = result = newLineInfo(L.filename, L.linenumber, getColNumber(L, L.bufpos)) proc lexMessage*(L: TLexer, msg: TMsgKind, arg = "") = - msgs.liMessage(getLineInfo(L), msg, arg) + msgs.GenericMessage(getLineInfo(L), msg, arg) proc lexMessagePos(L: var TLexer, msg: TMsgKind, pos: int, arg = "") = var info = newLineInfo(L.filename, L.linenumber, pos - L.lineStart) - msgs.liMessage(info, msg, arg) + msgs.GenericMessage(info, msg, arg) proc TokKindToStr*(k: TTokKind): string = case k |