diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-03-29 16:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-29 16:23:19 +0200 |
commit | cfff27529e4ec129daad602d945a2b222145e922 (patch) | |
tree | bfbdcd036d07c282865531e1ede7864263e9ba12 /lib/core | |
parent | 1a407402a4614fc9100617f71c2d3c9b8a8367a5 (diff) | |
download | Nim-cfff27529e4ec129daad602d945a2b222145e922.tar.gz |
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>
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 8d6258e80..795909c6b 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -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 |