diff options
Diffstat (limited to 'scan.c')
-rw-r--r-- | scan.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -336,6 +336,10 @@ again: return TRBRACE; case '.': nextchar(s); + if (isdigit(s->chr)) { + bufadd(&s->buf, '.'); + return number(s); + } if (s->chr != '.') return TPERIOD; loc = s->loc; |