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:
seyko 2015-04-10 16:40:30 +03:00
parent 70dbe169b2
commit 8037a1ce39

View File

@ -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 {