ID:2690107
 
BYOND Version:Found on 514.1556 and replicated on 513.1542
Operating System:Windows 10 Pro 64-bit
Web Browser:N/A
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
#include directives don't work if in a file by themselves with no line after.

Numbered Steps to Reproduce Problem:
1. Create a file
2. Add an #include directive
3. Do not add a new line after the include directive

Code Snippet (if applicable) to Reproduce Problem:
Test case: https://drive.google.com/ uc?id=1sTM9377sXnKs31-k69B7ijElttYWfLWF

Expected Results:
For both versions in the test case to compile

Actual Results:
Only the version with a newline after the #include directive works
loading includetestcase.dme
includetestcase.dme:17:error: unable to open "included.dm".


working\includer.dm:1:warning: #warn "working version is included"
includetestcase.dmb - 1 error, 1 warning (6/5/21 10:43 pm)


Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? N/A
On other computers? N/A

When does the problem NOT occur?
When theres a newline after the #include directive

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I tested with 513.1542, I don't know about earlier versions

Workarounds:
Add a new line
I meant to put this in normal bugs not beta bugs as it affects 513 as well as 514. Oh well
I found the move button