.rept asm directive
and '.' alone is a token now in *.S (not an identifier)
representing a current position in the code (PC).
This commit is contained in:
3
tccpp.c
3
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 == '.') {
|
||||
|
||||
Reference in New Issue
Block a user