[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

Sven Barth pascaldragon at googlemail.com
Thu Jul 4 17:11:33 CEST 2019


Marco van de Voort <fpc at pascalprogramming.org> schrieb am Do., 4. Juli
2019, 16:26:

>
> Op 2019-07-04 om 16:25 schreef Ben Grasset:
> > On Thu, Jul 4, 2019 at 10:09 AM Marco van de Voort
> > <fpc at pascalprogramming.org <mailto:fpc at pascalprogramming.org>> wrote:
> >
> >     You clearly didn't read the message fully. It is not about
> >     compiler/not
> >     compile, but in the case of not compile what the error is and where.
> >
> >
> > It occurs at the same place it always has, because the scanner itself
> > is designed is such a way that it literally terminates the compilation
> > process immediately upon encountering "string exceeds end of line." (A
> > very good way of doing it, really. The overall design of the scanner
> > was clearly developed with ease of future extensibility in mind.)
>
> True, sorry. Didn't fully change my argument to the backticks.
>

Your argument works if you start with a string that's started with a
backtick, but not correctly terminated.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190704/0d31b31f/attachment.html>


More information about the fpc-devel mailing list