Am 04.07.2019 um 00:08 schrieb Ben Grasset:
On Wed, Jul 3, 2019 at 5:48 PM Sven Barth via fpc-devel <fpc-devel@lists.freepascal.org <mailto:fpc-devel@lists.freepascal.org>> wrote:

    I'm with Michael here: I see no *need* for a separate syntax for a
    multi line string.


 I don't really think the suggested backtick way is different enough from anything that exists to be considered a "separate syntax", though. It's the exact same thing, with a one-character difference at the opening and close of the string.
As far as the compiler is concerned it definitely *is* a separate syntax. It's a completely new token that didn't exist before with new code inside the parser. Don't try to sugarcoat it because the difference between an apostrophe and a backtick is optically that small.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to