Fixes wrapErrorChecking macro.
This commit is contained in:
parent
704d713122
commit
4308c6f405
2 changed files with 2 additions and 1 deletions
1
examples/nim.cfg
Normal file
1
examples/nim.cfg
Normal file
|
|
@ -0,0 +1 @@
|
|||
--path:"../src"
|
||||
|
|
@ -364,7 +364,7 @@ proc enableAutoGLerrorCheck*(yes: bool) =
|
|||
## ``noAutoGLerrorCheck`` is defined.
|
||||
gAutoGLerrorCheck = yes
|
||||
|
||||
macro wrapErrorChecking(f: stmt): stmt =
|
||||
macro wrapErrorChecking(f: stmt): stmt {.immediate.} =
|
||||
f.expectKind nnkStmtList
|
||||
result = newStmtList()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue