aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccasm.c b/tccasm.c
index eed3cdb..ea65171 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -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();
}
}