fixes error propagation for macros.parseExpr
This commit is contained in:
parent
77353b8084
commit
bc5879b9b7
2 changed files with 5 additions and 2 deletions
|
|
@ -1172,6 +1172,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
|||
of opcQueryErrorFlag:
|
||||
createStr regs[ra]
|
||||
regs[ra].node.strVal = c.errorFlag
|
||||
c.errorFlag.setLen 0
|
||||
of opcCallSite:
|
||||
ensureKind(rkNode)
|
||||
if c.callsite != nil: regs[ra].node = c.callsite
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue