non-nil AST; continue after errors for IDE support
This commit is contained in:
parent
27dc54cbda
commit
5b28d08203
84 changed files with 678 additions and 722 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue