[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

Ryan Joseph genericptr at gmail.com
Fri Jul 5 02:11:39 CEST 2019



> On Jul 4, 2019, at 7:16 PM, Ben Grasset <operator97 at gmail.com> wrote:
> 
> One more question in this general regard... what would be the most desirable way for the compiler to handle the appearance of a single apostrophe inside a multi-line string?
> 
> Of course, it should not terminate it because it's not a backtick. So should it be accepted as a normal character the same way a backtick is accepted within a single-line string? Or should it give some more specific error? 

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 ‘'.

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list