Ok! I've now fixed the second bug engkin reported. The changes have been pushed to my github fork-branch of the compiler, and once again I've uploaded a new pair of patch files on my bugtracker issue for the feature (including engkin's example of the second bug, as a test file to ensure the problem
stays fixed, with the name "tmultilinestring24.pp".)
Again, if you're someone who doesn't mind building FPC from source, please feel to free to apply the patch, test the feature, and report any other bugs you might find! (Which of course is hopefully few, or even better none, haha.)
Extra bonus: attributes were merged into trunk FPC today. Of course, once I noticed this, I right away wanted to see how they work with multi-line strings. Turns out: just fine! And they look right at home together in (my patched) Lazarus, if you ask me (see the attached image.)
Doesn't that quite defeates the whole purpose of this feature?
Not necessarily. I could see certain things being much easier to format without being separated with single-quotes and plus signs, while not specifically requiring newlines in the output.
Also, again, it's trivial enough to add that I see no reason not to.