non-nil AST; continue after errors for IDE support

This commit is contained in:
Araq 2011-02-12 19:24:20 +01:00
commit 5b28d08203
84 changed files with 678 additions and 722 deletions

View file

@ -119,7 +119,7 @@ proc getOrdValue(n: PNode): biggestInt =
of nkCharLit..nkInt64Lit: result = n.intVal
of nkNilLit: result = 0
else:
liMessage(n.info, errOrdinalTypeExpected)
LocalError(n.info, errOrdinalTypeExpected)
result = 0
proc isCompatibleToCString(a: PType): bool =