fix a preprocessor for .S
A test program (tcc -E test.S): # .. or else we have a high. This is a test.S
This commit is contained in:
parent
70dbe169b2
commit
8037a1ce39
1 changed files with 6 additions and 2 deletions
8
tccpp.c
8
tccpp.c
|
@ -2393,8 +2393,12 @@ maybe_newline:
|
|||
goto parse_num;
|
||||
} else if (c == '.') {
|
||||
PEEKC(c, p);
|
||||
if (c != '.')
|
||||
expect("'.'");
|
||||
if (c != '.') {
|
||||
if ((parse_flags & PARSE_FLAG_ASM_COMMENTS) == 0)
|
||||
expect("'.'");
|
||||
tok = '.';
|
||||
break;
|
||||
}
|
||||
PEEKC(c, p);
|
||||
tok = TOK_DOTS;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue