瀏覽代碼

test with naming StdLibs as zsp (zs package)

Jared 5 年之前
父節點
當前提交
95d9aa2b32
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      JavaIntegration/src/main/java/org/openzen/zencode/java/ScriptingEngine.java

+ 1
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/ScriptingEngine.java 查看文件

@@ -43,7 +43,7 @@ public class ScriptingEngine {
43 43
 		space = new ModuleSpace(registry, new ArrayList<>(), StorageType.getStandard());
44 44
 		
45 45
 		try {
46
-			ZippedPackage stdlibs = new ZippedPackage(ScriptingEngine.class.getResourceAsStream("/StdLibs.zip"));
46
+			ZippedPackage stdlibs = new ZippedPackage(ScriptingEngine.class.getResourceAsStream("/StdLibs.zsp"));
47 47
 			SemanticModule stdlibModule = stdlibs.loadModule(space, "stdlib", null, new SemanticModule[0], FunctionParameter.NONE, stdlib);
48 48
 			stdlibModule = Validator.validate(stdlibModule, error -> System.out.println(error.toString()));
49 49
 			space.addModule("stdlib", stdlibModule);

Loading…
取消
儲存