<div dir="ltr"><div dir="ltr">On Wed, Jul 3, 2019 at 7:57 PM J. Gareth Moreton <<a href="mailto:gareth@moreton-family.com">gareth@moreton-family.com</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">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>While I like the idea in principle, one thing that I'm a bit
      worried about is how whitespace is handled, like what counts for a
      leading or trailing space in the string when between lines, since
      Pascal parsers (and those for many other languages) traditionally,
      I believe, discard everything following the last non-whitespace
      character in a line.  Also, with the backtick suggestion, what
      should one do if they wish to include a control character (e.g. a
      linefeed) or the backtick character itself?</p></div></blockquote><div><br></div><div>I've looked through the sources extensively (and started playing around with a basic implementation, actually.) FPC doesn't care about anything other than #13, #10 when it comes to terminating lines, currently.</div><div> </div><div>For the backtick, it just needs to not intentionally error out on #13 and #10, and instead continue until it hits another backtick.</div><div><br></div><div>As far as including the backtick itself, the rough version I have going accepts it the same way a single-quote literal is currently accepted (which is to say, if you want a single quote literal, you have to do four of them in a row. Same applies to the backtick.)</div></div></div>