mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-08 01:36:06 +00:00
make wasm work
This commit is contained in:
@@ -44,6 +44,7 @@ func parseGenericImport(code UNPARSEcode, index int, codeline []UNPARSEcode) (Ar
|
||||
}
|
||||
|
||||
func runImport(importOBJ ArImport, stack stack, stacklevel int) (any, ArErr) {
|
||||
return nil, ArErr{"Import Error", "importing in WASM is currently not supported", importOBJ.line, importOBJ.path, importOBJ.code, true}
|
||||
val, err := runVal(importOBJ.filePath, stack, stacklevel+1)
|
||||
val = ArValidToAny(val)
|
||||
if err.EXISTS {
|
||||
|
||||
Reference in New Issue
Block a user