Minor fix for initial break_tag in repeat statement. Loadable module

return value fixes.
This commit is contained in:
dschmenk 2015-02-03 22:04:11 -08:00
parent 508a2c84fb
commit da0c23e35a
2 changed files with 5 additions and 2 deletions

5
Platform/Apple/tools/PLASMA/src/cmd.pla Normal file → Executable file
View File

@ -1075,6 +1075,9 @@ def loadmod(mod)
else
modend = init - defofst + defaddr
fin
if fixup < 0
perr = -fixup
fin
else
fixup = fixup & ~modinitkeep
fin
@ -1264,7 +1267,7 @@ def execmod(modfile)
^lastsym = 0
systemflags = saveflags
fin
return perr
return -perr
end
//
// Get heap start.

View File

@ -14,7 +14,7 @@ static int locals = 0;
static int predefs = 0;
static int defs = 0;
static int asmdefs = 0;
static int codetags = 0;
static int codetags = 1; // Fix check for break_tag and cont_tag
static int fixups = 0;
static char idconst_name[1024][17];
static int idconst_value[1024];