VM produces objects.
This commit is contained in:
parent
0320c0c73b
commit
04a4f35400
6 changed files with 43 additions and 23 deletions
|
|
@ -46,7 +46,7 @@ template wrap2svoid(op) {.immediate, dirty.} =
|
|||
|
||||
proc getCurrentExceptionMsgWrapper(a: VmArgs) {.nimcall.} =
|
||||
setResult(a, if a.currentException.isNil: ""
|
||||
else: a.currentException.sons[2].strVal)
|
||||
else: a.currentException.sons[3].skipColon.strVal)
|
||||
|
||||
proc registerAdditionalOps*(c: PCtx) =
|
||||
wrap1f(sqrt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue