implement (#15153)
This commit is contained in:
parent
eb3ba0ae5f
commit
ef6358f0b0
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ template wrap2svoid(op, modop) {.dirty.} =
|
||||||
|
|
||||||
template wrapDangerous(op, modop) {.dirty.} =
|
template wrapDangerous(op, modop) {.dirty.} =
|
||||||
proc `op Wrapper`(a: VmArgs) {.nimcall.} =
|
proc `op Wrapper`(a: VmArgs) {.nimcall.} =
|
||||||
if defined(nimsuggest) or c.config.cmd == cmdCheck:
|
if vmopsDanger notin c.config.features and (defined(nimsuggest) or c.config.cmd == cmdCheck):
|
||||||
discard
|
discard
|
||||||
else:
|
else:
|
||||||
op(getString(a, 0), getString(a, 1))
|
op(getString(a, 0), getString(a, 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue