added nkError to the AST (#17567)
* added nkError to the AST * Update lib/core/macros.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update compiler/ast.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
This commit is contained in:
parent
1a407402a4
commit
cfff27529e
6 changed files with 90 additions and 3 deletions
|
|
@ -85,7 +85,8 @@ type
|
|||
nnkState,
|
||||
nnkBreakState,
|
||||
nnkFuncDef,
|
||||
nnkTupleConstr
|
||||
nnkTupleConstr,
|
||||
nnkError, ## erroneous AST node
|
||||
|
||||
NimNodeKinds* = set[NimNodeKind]
|
||||
NimTypeKind* = enum # some types are no longer used, see ast.nim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue