Raw strings with long-form delimiters hang the compiler inside an #if
|
|
Resolved
Using a raw string with the long-form delimiter @(...) could cause a hang in the compiler when it occurred within an #if preprocessor block that got skipped.
|
BYOND Version: | 514 |
Operating System: | N/A |
Web Browser: | N/A |
Applies to: | Dream Maker |
|
Status: |
Resolved (514.1567)
This issue has been resolved.
|
|
|
Descriptive Problem Summary:
Using a raw string with the long-form delimiter @(...) can cause a hang in the compiler when this occurs within an #if block that gets skipped.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
#if DUNG_VERSION < 200 mytext = @(xyz)This is textxyz #endif
Expected Results:
The code should be skipped.
Actual Results:
The parser hangs in an infinite loop.
|