<div dir="ltr"><div dir="ltr">On Thu, Jul 4, 2019 at 1:51 PM Marco van de Voort <<a href="mailto:fpc@pascalprogramming.org">fpc@pascalprogramming.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Op 2019-07-04 om 17:36 schreef Michael Van Canneyt:<br>
><br>
>> Your argument works if you start with a string that's started with a<br>
>> backtick, but not correctly terminated.<br>
><br>
> To be correct, I think the argument about unterminated line endings <br>
> needs to be seen for what it is: a nuisance, but not more a nuisance<br>
> than a mismatched {$IFDEF}.<br>
<br>
If $ifdef was a single char token, maybe. And for a trivial feature, not <br>
a core one, like conditional compiling.<br>
<br>
><br>
> So the compiler will correctly give an error.<br>
<br>
... but not at or near the place where the mistake is made.<br></blockquote><div><br></div><div>I think I can pretty easily make the compiler give an informative error in the specific case of an odd number of backticks.</div><div><br></div><div>Something like "Unterminated multi-line string: opened at line ABC, broken by unexpected character at line DEF."</div><div><br></div><div>I'll work on this next. </div></div></div>