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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to