aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccpp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tccpp.c b/tccpp.c
index e8fbd60..7ec0d44 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -2537,10 +2537,8 @@ maybe_newline:
cstr_reset(&tokcstr);
cstr_ccat(&tokcstr, '.');
goto parse_num;
- } else if (c == '.') {
+ } else if ((c == '.') && (p[1] == '.')){
PEEKC(c, p);
- if (c != '.')
- expect("'.'");
PEEKC(c, p);
tok = TOK_DOTS;
} else {