tcc-asm: Parse .size directive correctly
When the .size directive was closed with a ';' tcc eat everything after it up to lineend.
This commit is contained in:
parent
6a5ec8cb3c
commit
e3f2a68311
1 changed files with 1 additions and 1 deletions
2
tccasm.c
2
tccasm.c
|
@ -729,7 +729,7 @@ static void asm_parse_directive(TCCState *s1)
|
||||||
|
|
||||||
next();
|
next();
|
||||||
skip(',');
|
skip(',');
|
||||||
while (tok != '\n' && tok != CH_EOF) {
|
while (tok != TOK_LINEFEED && tok != ';' && tok != CH_EOF) {
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue