Anonymous | Login | 2021-01-17 12:19 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0001027 | OMNeT++ | simulation kernel | public | 2017-12-15 18:03 | 2017-12-15 18:03 | ||||||||
Reporter | attila | ||||||||||||
Assigned To | |||||||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 5.2 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0001027: String literal parsing in NED @properties | ||||||||||||
Description | Breaking long strings into multiple lines in property values is not possible. The resulting value will contain all quotes, backslashes, and indentation as it is present in the NED file, unintuitively. | ||||||||||||
Steps To Reproduce | @prop(key="foo" "bar"); @prop(key="foo" + "bar"); @prop(key="foo" \ "bar"); In all cases, the value becomes literally the whole thing in the file between = and ), including any newlines, ", \, +, or indentation. In fact, it doesn't even have to be broken into multiple lines: @prop(key="foo""bar") @prop(key="foo" "bar") and @prop(key="foo" + "bar") will also include the quotes/plus sign/spaces. I would expect at least one or two of the above to work as it does in C/C++/etc. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2017-12-15 18:03 | attila | New Issue |
Copyright © 2000 - 2021 MantisBT Team |