[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
Wed Jul 3 22:50:40 CEST 2019


On Wed, Jul 3, 2019 at 4:28 PM gabor <gabor at poczta.onet.pl> wrote:

> What is the end-of-line character in this case? #13#10, #10 or #13?


It's whatever the EOL characters in that physical copy of the source file
actually are.

For example, currently #13 and #10 directly result in the "string exceeds
end of line" error for string constants.
With multi-line strings, they'd just be included like any other character,
and the compiler would continue as normal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190703/632b5010/attachment-0001.html>


More information about the fpc-devel mailing list