aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/standardClient.ey18
1 files changed, 9 insertions, 9 deletions
diff --git a/compiler/standardClient.ey b/compiler/standardClient.ey
index fecbf97..ca05e41 100644
--- a/compiler/standardClient.ey
+++ b/compiler/standardClient.ey
@@ -1219,17 +1219,17 @@
# no long-term stack use here as the executed program uses it as well
{ scope
- 0 "0" * ==:zero
- { 0 ==result
- { zero sub result 10 mul add =result } each
- result
- } /base10decode deffd
+ { ==currentScope ==input
+ 0 "0" * ==:zero
+ { 0 ==result
+ { zero sub result 10 mul add =result } each
+ result
+ } /base10decode deffd
- [ 0 11 range {
- sys .asm .intToFloat
- } each ] =*:FLOAT
+ [ 0 11 range {
+ sys .asm .intToFloat
+ } each ] =*:FLOAT
- { ==currentScope ==input
{ .value currentScope sys .executeIdentifierScoped =currentScope } /TOKID defvst
{ .value base10decode } /TOKINT defvd
{ .value "^(\\d+)(\\.(\\d*))?([eE](-)?(\\d+))?$" regex