Text after #include "foo.dm" is entirely ignored, and does not cause compiler errors or warnings.
Numbered Steps to Reproduce Problem:
Compile and run the below code
Code Snippet (if applicable) to Reproduce Problem:
mainfile.dme
#include "test.dm" SOME TEXT GOES HERE
/world/New()
world.log << "foo is [FOO]"
del(src)
test.dm
#define FOO 1
Expected Results: Compile failure at mainfile.dme:1
Actual Results: Compile success, prints "foo is 1" then exits, as if "SOME TEXT GOES HERE" wasn't present
Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur? N/A
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Unknown
Workarounds: N/A