[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
Sat Jul 6 05:02:23 CEST 2019
Ok, I've implemented {$modeswitch MultiLineStrings}.
The compiler now stops immediately with "file.pas(lineno,lineno) Fatal:
Illegal character "'`'" ($60)" (which I find to be more informative than
"illegal expression") upon any occurrence of a backtick outside a
single-line string when the modeswitch is disabled (which it is by default
in all "language modes", currently.)
If desired, I can make it on-by-default in *some* specific mode (or modes).
Or not. Doesn't really matter to me personally.
Again, if anyone wants to test the branch, my github can be found here.
<https://github.com/Akira13641/freepascal>
I'm now going to start working on writing a suite of FPC-test-suite
compatible tests, I guess.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190705/8f5b8434/attachment.html>
More information about the fpc-devel
mailing list