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
|
|
@ -117,7 +117,7 @@ proc indAndComment(p: var TParser, n: PNode) =
|
|||
var info = parLineInfo(p)
|
||||
getTok(p)
|
||||
if p.tok.tokType == tkComment: skipComment(p, n)
|
||||
else: liMessage(info, errInvalidIndentation)
|
||||
else: LocalError(info, errInvalidIndentation)
|
||||
else:
|
||||
skipComment(p, n)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue