diff options
Diffstat (limited to 'src/interp/i-spec1.boot')
| -rw-r--r-- | src/interp/i-spec1.boot | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/interp/i-spec1.boot b/src/interp/i-spec1.boot index 2b3b5ba3..4164d514 100644 --- a/src/interp/i-spec1.boot +++ b/src/interp/i-spec1.boot @@ -153,8 +153,8 @@ compileTargetedADEF(t,vars,types,body) == compileADEFBody(t,vars,types,body,computedResultType) == --+ $compiledOpNameList := [$mapName] - minivectorName := makeInternalMapMinivectorName(PNAME $mapName) - body := substitute(minivectorName,"$$$",body) + minivectorName := makeInternalMapMinivectorName PNAME $mapName + body := substitute(["%dynval",MKQ minivectorName],"$$$",body) setDynamicBinding(minivectorName,LIST2VEC $minivector) -- The use of the three variables $definingMap, $genValue and $compilingMap @@ -177,9 +177,7 @@ compileADEFBody(t,vars,types,body,computedResultType) == -- MCD 13/3/96 parms := [:vars,"envArg"] if not $definingMap and ($genValue or $compilingMap) then - fun := [$mapName,["LAMBDA",parms, - declareGlobalVariables [minivectorName], - :declareUnusedParameters(parms,body)]] + fun := [$mapName,["LAMBDA",parms,:declareUnusedParameters(parms,body)]] code := wrap compileInteractive fun else $freeVariables: local := [] |
