ID:105664
 
Resolved
Within a #define directive, including // in a string colored the slashes and everything after them like a comment.
BYOND Version:479
Operating System:Windows Vista Home Basic
Web Browser:Firefox 3.6.13
Applies to:Dream Maker
Status: Resolved (480)

This issue has been resolved.
Descriptive Problem Summary:
DM's parser mistakenly interprets // in #define strings as commenting everything thereafter.

Numbered Steps to Reproduce Problem:
paste the following snippet into a DM project:

Code Snippet (if applicable) to Reproduce Problem:
#define STRING "http://everything_after_this_point_is_grayed_out"


Expected Results:
none of the text should be grayed out

Actual Results:
everything_after_this_point_is_grayed_out is grayed out

Workarounds:
The code compiles fine, and the defined string behaves properly.
This is simply an aesthetic issue.

edit: The website's DM parser doesn't seem to have this issue.