On Fri, Jul 5, 2019 at 4:39 PM Ben Grasset <operato...@gmail.com> wrote:

> I'll have to look at this later today when I have more free time. I did
> however test a variety of things (both typed and untyped constants and
> variables, and also literals in function calls, and had no issues.)
>
> Note again that {$modeswitch multilinestrings} does not exist yet, though.
> Try putting your directives after "program", not before, also.
>

Also, in general, my implementation as it stands is entirely unrelated to
any part of the compiler that cares about the overall "langauge modes". It
is implemented entirely in the scanner, and simply builds upon the existing
string-reading code.

Even the in-progress {$modeswitch} isn't really going to be heavily
concerned with anything other than whether it specifically is on or off,
because it doesn't need to be.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to