Skip to content

Commit 4cf6480

Browse files
committed
Compiler fixes
1 parent 71fc778 commit 4cf6480

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/stdLambda.cls

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ Private Function evaluate(ByRef ops() As Operation, ByVal vLastArgs As Variant)
11821182
GoTo lblEndLoop
11831183
else
11841184
Throw "Unknown instruction in Lambda Virtual Machine: " & op.Instruction
1185-
Exit Sub
1185+
Exit Function
11861186
end if
11871187

11881188
'NOTE: The following labels are in declaration order, but this has no effect on evaluation. The labels are in their current order purely for readability.
@@ -1406,7 +1406,11 @@ lblReturn_NoValue:
14061406
opIndex = popV(stack, stackPtr) 'Get and Set the return position
14071407
GoTo lblEndLoop
14081408

1409-
lblObject_PropGet, lblObject_PropLet, lblObject_PropSet, lblObject_MethodCall, lblObject_FieldCall:
1409+
lblObject_PropGet:
1410+
lblObject_PropLet:
1411+
lblObject_PropSet:
1412+
lblObject_MethodCall:
1413+
lblObject_FieldCall:
14101414
Call objectCaller(stack, stackPtr, op)
14111415
GoTo lblEndLoop
14121416
lblEndLoop:

0 commit comments

Comments
 (0)