Open alberdingk-thijm opened 4 years ago
Yes, we currently expect that includes are at the beginning of the file. IIRC, the only things allowed before an include statement are empty lines and single-line comments. We could implement a more robust include system, but so far it hasn't been worth the effort.
Gotcha. If I find the time later this month, I can make it work for multi-line comments.
The following code does not process the include when it's run.
Code
Error
Resolution
Removing the multi-line comment, or moving it after the include fixes this bug. Multiple single-line comments do not have this problem. If single-line comments precede the multi-line comment and the include, the include is also not processed: