aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasAsm.ey1
-rw-r--r--compiler/standardClient.ey12
2 files changed, 7 insertions, 6 deletions
diff --git a/compiler/elymasAsm.ey b/compiler/elymasAsm.ey
index 3856d8a..1d4d906 100644
--- a/compiler/elymasAsm.ey
+++ b/compiler/elymasAsm.ey
@@ -774,6 +774,7 @@
/jnb _ %73 defJmpRel8 %83 defJmpRel32
/jnc _ %73 defJmpRel8 %83 defJmpRel32
/jne _ %75 defJmpRel8 %85 defJmpRel32
+ /jng _ %7E defJmpRel8 %8E defJmpRel32
/jnl _ %7D defJmpRel8 %8D defJmpRel32
/jnle _ %7F defJmpRel8 %8F defJmpRel32
/jns _ %79 defJmpRel8 %89 defJmpRel32
diff --git a/compiler/standardClient.ey b/compiler/standardClient.ey
index 30b7be2..bdc637c 100644
--- a/compiler/standardClient.ey
+++ b/compiler/standardClient.ey
@@ -806,7 +806,7 @@
{ 0 dumpIndented }
> -- /dump deffd
-{ ==filename # ==f (left on the stack and executed from sys .asm .programStart)
+{ ==filename # ==f (left on the stack a while and executed from sys .asm .programStart)
sys .asm .patchProgramStart ==frozenAllocationCount
# hex decoding
@@ -1004,10 +1004,12 @@
out .close
+ ==f
+
sys .asm .patchProgramStart frozenAllocationCount neq {
"freezing allocated new memory chunks, retrying..." dump
- filename sys .freeze
- }
+ f filename sys .freeze
+ } rep
} /freeze sys .deff
# no long-term stack use here as the executed program uses it as well
@@ -1024,9 +1026,7 @@
}" /includeFile deffd
{ # ==?filename
- sys .file -0010 .open
- includeFile
- .close
+ sys .file _ _ .|open -01 |includeFile -01 .|close ; ; -120 * # can use neither stack nor scope for storage here
}" /include deffd
# vim: syn=elymas