On Sat, Jul 6, 2019 at 10:25 AM Florian Klämpfl <flor...@freepascal.org>
wrote:

> I tried to follow the thread, but one think I miss is: what are the rules
> for indention? Does the lines string contain
> spaces at the beginning of every line or not? Are they removed? How many
> are removed? What about tabs? Actually, this is
> my main concern with such multiline strings: spaces/tabs at the beginning
> of a line cannot be handled in an intuitive way.
>

No spaces or tabs are implicitly inserted or removed by the compiler at any
time. Line endings are handled via the directive syntax suggested by
Michael.

If you wish to test the feature yourself, Florian, currently I have the
branch available here. <https://github.com/Akira13641/freepascal>

Note that it *does* now also include the requested {$modeswitch
MultiLineStrings}, which must be set (in all language modes) in order to
use multi-line strings anywhere.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to