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

Benito van der Zander benito at benibela.de
Fri Jul 5 11:33:47 CEST 2019


Hi,

Am 04.07.19 um 19:51 schrieb Marco van de Voort:
>>
>
> If $ifdef was a single char token, maybe. And for a trivial feature, 
> not a core one, like conditional compiling.
>
>>
>> So the compiler will correctly give an error.
>
> ... but not at or near the place where the mistake is made. 

Some languages uses multiple chars to mark start and end to solve that.  
E.g. in XQuery there are strings with 3-char markers: |``[   ... |||]``||

Bye,
Benito

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190705/7f240b46/attachment.html>


More information about the fpc-devel mailing list