On Jul 28, 2025 at 9:12:53 AM, Michael Van Canneyt <mich...@freepascal.org>
wrote:

> Because the amount of whitespace to remove at the start of every line
> is determined by the amount of spaces before the closing triple quotes.
>
> Ergo, you can only strip the whitespaces at the start of every line
> after the whole string was parsed and you have determined the
> number of whitespace characters to remove from every line...
> -> 2 passes.
>

oh I re-read the first email and see its implemented differently.

I’ve been using multi lines strings in Swift for my day job for a few years
now and got used to the “”” style which include indentation too and I’ve
had no complaints. Since whitespace is important to multiline strings
having the compiler enforce indentation rules makes sense to me.

Personally I’ll be using the ‘’’ variant so I don’t need to change syntax
definitions in Sublime Text + VSCode and how many others that I may come
across.

Regards,
    Ryan Joseph
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to