On Wednesday, 6 December 2023 at 11:53:09 UTC, realhet wrote:
Hello,


I've found another trick:

- prepend "version(none):" in front of the source.
- ignore the optional "Error: declaration expected, not `module`" message - Take seriously all the other errors, those are only syntax errors, semantically the whole file equals to 'none'.

I can also change the line numbers: with the #line directive. Most of the time I will pass it function bodies, not the whole source file.

Reply via email to