[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Probably bug in implementation of numerical constant parsing
- From: Sam Roberts <vieuxtech@...>
- Date: Mon, 17 Sep 2012 11:00:04 -0700
On Mon, Sep 17, 2012 at 9:54 AM, joao lobato <btnfdp.lobato@gmail.com> wrote:
> So, another wart that would not exist without automatic number-string coercion?
No, its completely unrelated to that. Its a lexing problem, one .
could be a decimal point, or the first character of the concatenation
operator, and the lexer must choose one or the other, it can't
look-ahead.
Similar to c++ and it's problem with distinguishing whether a < is
being used for template definition, or a left-shift operator.
Sam