Long line string literals

Stephen Colebourne scolebourne at joda.org
Mon May 13 18:56:12 UTC 2019


On Thu, 9 May 2019 at 17:47, Jim Laskey <james.laskey at oracle.com> wrote:
> > However, I do believe this needs to occur before auto-alignment.
>
> This is only a problem if the continuing line is interferes with the indentation
> algorithm. But that is true of any lines, so why is a continuation special?
> I think we can keep the continuation as part of normal escape handling.

Its an edge case whatever. From my POV, the \<NewLine> is intended to
be a line continuer, for the purpose of joining long lines. I see that
step as occurring early in the processing, before other rules kick in.
But I don't think its a huge deal, as the edge case seems unlikely to
be hit.

Stephen


More information about the amber-dev mailing list