bugfix: make 'macros' module available for nimscript
This commit is contained in:
parent
c6471b8f72
commit
abec8823aa
2 changed files with 4 additions and 3 deletions
|
|
@ -1810,7 +1810,7 @@ proc gen(c: PCtx; n: PNode; dest: var TDest; flags: TGenFlags = {}) =
|
|||
of nkVarSection, nkLetSection:
|
||||
unused(n, dest)
|
||||
genVarSection(c, n)
|
||||
of declarativeDefs:
|
||||
of declarativeDefs, nkMacroDef:
|
||||
unused(n, dest)
|
||||
of nkLambdaKinds:
|
||||
#let s = n.sons[namePos].sym
|
||||
|
|
|
|||
|
|
@ -21,5 +21,6 @@ import subexes
|
|||
import tables
|
||||
import unicode
|
||||
import uri
|
||||
import macros
|
||||
|
||||
echo "Nimscript imports are successful."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue