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

Ben Grasset operator97 at gmail.com
Fri Jul 5 01:16:27 CEST 2019


On Thu, Jul 4, 2019 at 12:29 PM Michael Van Canneyt <michael at freepascal.org>
wrote:

> I would think this is a given...
> After all, they are valid characters in a single line string now, that
> must be kept
> for backward compatibility.
>

One more question in this general regard... what would be the most
desirable way for the compiler to handle the appearance of a single
apostrophe inside a multi-line string?

Of course, it should not terminate it because it's not a backtick. So
should it be accepted as a normal character the same way a backtick is
accepted within a single-line string? Or should it give some more specific
error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190704/a7074028/attachment.html>


More information about the fpc-devel mailing list