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

Michael Van Canneyt michael at freepascal.org
Thu Jul 4 13:54:19 CEST 2019



On Thu, 4 Jul 2019, Tomas Hajny wrote:

> On 2019-07-04 12:59, Marģers . via fpc-devel wrote:
>
>  .
>  .
>> Why introduce ` if there already is ' ? Just use '
>> as well for multi line strings. For people of more
>> conservative view point, put multilinestring
>> behind mode switch.
>
> Because then it's never clear whether the fact that there's no ending 
> quote before the end of the line is an omission, or an intention.

Exactly. 
The same goes for all other quote characters. 
That's why the directive is a better approach; it is unambigious.

Michael.


More information about the fpc-devel mailing list