aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index b991944..e1fabbb 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -2784,7 +2784,8 @@ maybe_newline:
cstr_reset(&tokcstr);
cstr_ccat(&tokcstr, '.');
goto parse_num;
- } else if (parse_flags & PARSE_FLAG_ASM_FILE) {
+ } else if ((parse_flags & PARSE_FLAG_ASM_FILE)
+ && (isidnum_table[c - CH_EOF] & (IS_ID|IS_NUM))) {
*--p = c = '.';
goto parse_ident_fast;
} else if (c == '.') {