On Thu, Jul 4, 2019 at 9:30 PM Ryan Joseph <generic...@gmail.com> wrote:

> I must have missed something, why would a single apostrophe be anything
> besides just another character? I thought another use of `` strings would
> be that you don’t need to escape apostrophes using ‘'.
>

I didn't really think it should be. Just wanted to make sure we're aiming
for the exact "mirror image" of normal strings.

On Thu, Jul 4, 2019 at 9:35 PM Michael Van Canneyt <mich...@freepascal.org>
wrote:

> for reasons of symmetry, if
> '`' (quote backtick quote)
> is legal, then
> `'` (backtick quote backtick)
> should also be. I see no point in allowing a normal quote to end a `
> string,
> as the opposite also does not happen. A backtick also does not end a
> single-quoted string.
>
> The backticked string is in all respects the same as a regular string,
> except that the single quote delimiter is replaced by a backtick delimiter.
>
> That means that `this is `` a bakcticked string with a backtick in it`
> should also work.
>

Ok, that's how it already works with the revised version. Just thought I
would double-check.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to