Allow void macro result (#11286)
* allow void macro result * add test for void macro result type
This commit is contained in:
parent
68b5e3e3fe
commit
f94ec363ab
25 changed files with 143 additions and 60 deletions
|
|
@ -18,7 +18,7 @@ proc initOpts(): set[nlOptions] =
|
|||
|
||||
const cOpts = initOpts()
|
||||
|
||||
macro nlo(): typed =
|
||||
macro nlo() =
|
||||
nlOpts.incl(nloNone)
|
||||
nlOpts.excl(nloDebug)
|
||||
result = newEmptyNode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue