1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-07-01 07:29:32 +00:00

Add Martin's updates

This commit is contained in:
dschmenk 2016-01-06 12:32:01 -08:00
parent f5e9dba8ac
commit bfd0f367ad

View File

@ -1270,8 +1270,10 @@ int parse_struc(void)
for (idlen = 0; idlen < struclen; idlen++)
strucid[idlen] = tokenstr[idlen];
}
while (next_line() == BYTE_TOKEN || scantoken == WORD_TOKEN)
while (next_line() == BYTE_TOKEN || scantoken == WORD_TOKEN || scantoken == EOL_TOKEN)
{
if (scantoken == EOL_TOKEN)
continue;
size = 1;
type = scantoken == BYTE_TOKEN ? BYTE_TYPE : WORD_TYPE;
if (scan() == OPEN_BRACKET_TOKEN)