From bfd0f367ade5405150b35c2870ca0b0f1b22795d Mon Sep 17 00:00:00 2001 From: dschmenk Date: Wed, 6 Jan 2016 12:32:01 -0800 Subject: [PATCH] Add Martin's updates --- src/toolsrc/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/toolsrc/parse.c b/src/toolsrc/parse.c index 6508c8f..0790bfd 100755 --- a/src/toolsrc/parse.c +++ b/src/toolsrc/parse.c @@ -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)