1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-21 22:17:15 +00:00

Increase global symbol table size and parse '\\' properly

This commit is contained in:
David Schmenk
2018-01-15 15:31:03 -08:00
parent 766c8c320e
commit 5e07a45d6e
3 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -484,7 +484,7 @@ def init_idglobal#0
if isult(heapavail, $4000)
tag_num = TAGNUM/2
fixup_num = FIXUPNUM/2
globalbufsz = IDGLOBALSZ/2
globalbufsz = IDGLOBALSZ/4
localbufsz = IDLOCALSZ/2
fin
tag_addr = heapalloc(tag_num*2)
@@ -546,7 +546,7 @@ def new_moddep(nameptr, len)#0
memcpy(@moddep_tbl[moddep_cnt*16] + 1, nameptr, len)
moddep_tbl[moddep_cnt*16] = len
moddep_cnt++
if moddep_cnt > 8; parse_warn("Module dependency overflow"); fin
if moddep_cnt > MODDEPNUM; parse_warn("Module dependency overflow"); fin
end
//
// Generate/add to a sequence of code