fully add init map

This commit is contained in:
2023-06-20 22:41:12 +01:00
parent e7ab5c9b7e
commit 3cec4a2339
5 changed files with 129 additions and 49 deletions

View File

@@ -181,6 +181,14 @@ func runVal(line any, stack stack, stacklevel int) (any, ArErr) {
break
}
return runSquareroot(x, stack, stacklevel+1)
case createMap:
if stackoverflow {
linenum = x.line
path = x.path
code = x.code
break
}
return runCreateMap(x, stack, stacklevel+1)
case ArImport:
if stackoverflow {
linenum = x.line