Date: Wed, 22 Sep 2021 10:19:37 -0400
On Wed, Sep 22, 2021 at 2:07 AM Jens Maurer <Jens.Maurer_at_[hidden]> wrote:
> On 22/09/2021 06.53, Hubert Tong via SG16 wrote:
> > In [lex.whitespaces]:
> > A disambiguation rule is required to prefer matching CRLF as a
> /line-break/ instead of two /line-break/s.
>
> I thought the lexer in C++ was max-munch?
>
For tokens, yes. The treatment of comments really is underspecified.
>
> Jens
>
>
> On 22/09/2021 06.53, Hubert Tong via SG16 wrote:
> > In [lex.whitespaces]:
> > A disambiguation rule is required to prefer matching CRLF as a
> /line-break/ instead of two /line-break/s.
>
> I thought the lexer in C++ was max-munch?
>
For tokens, yes. The treatment of comments really is underspecified.
>
> Jens
>
>
Received on 2021-09-22 09:20:11