Benito van der Zander <ben...@benibela.de> schrieb am Fr., 5. Juli 2019, 11:33:
> 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: ``[ ... ]`` > And that would solve the problem if a missing termination how? It would be even worse, cause you could forget one of the backticks (e.g. on my systems it's a dead key, thus I also need to use space to get the character) and you might not easily see where it is missing. Regards, Sven >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel