mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-26 17:24:02 +00:00
add nnkMacroDef to RoutineNodes (#13676)
This commit is contained in:
@@ -1085,7 +1085,7 @@ proc last*(node: NimNode): NimNode {.compileTime.} = node[node.len-1]
|
||||
|
||||
const
|
||||
RoutineNodes* = {nnkProcDef, nnkFuncDef, nnkMethodDef, nnkDo, nnkLambda,
|
||||
nnkIteratorDef, nnkTemplateDef, nnkConverterDef}
|
||||
nnkIteratorDef, nnkTemplateDef, nnkConverterDef, nnkMacroDef}
|
||||
AtomicNodes* = {nnkNone..nnkNilLit}
|
||||
CallNodes* = {nnkCall, nnkInfix, nnkPrefix, nnkPostfix, nnkCommand,
|
||||
nnkCallStrLit, nnkHiddenCallConv}
|
||||
|
||||
Reference in New Issue
Block a user