tcc-asm: Parse .size directive correctly

When the .size directive was closed with a ';' tcc eat everything after
it up to lineend.
master
Michael Matz 2016-07-11 21:16:43 +02:00
parent 6a5ec8cb3c
commit e3f2a68311
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ static void asm_parse_directive(TCCState *s1)
next();
skip(',');
while (tok != '\n' && tok != CH_EOF) {
while (tok != TOK_LINEFEED && tok != ';' && tok != CH_EOF) {
next();
}
}