1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-11 13:29:44 +00:00

Fix const init size

This commit is contained in:
David Schmenk 2014-11-24 17:35:41 -08:00
parent c92e659a9b
commit 3805fac455

View File

@ -3667,8 +3667,8 @@ def parse_stmnt
return TRUE
end
def parse_var(type)
byte consttype, idlen
word idptr, constval, arraysize, constsize, size
byte consttype, constsize, idlen
word idptr, constval, arraysize, size
idlen = 0
size = 1
@ -3722,8 +3722,8 @@ def parse_var(type)
end
def parse_struc
byte strucid[16]
byte type, idlen, struclen
word size, constsize, offset, idstr
byte type, idlen, struclen, constsize
word size, offset, idstr
struclen = 0
if scan == ID_TKN
@ -3821,7 +3821,7 @@ def parse_vars
until scan <> COMMA_TKN
break
is EOL_TKN
return TRUE
break
otherwise
return FALSE
wend