|Anonymous | Login||2020-04-02 21:56 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001027||OMNeT++||simulation kernel||public||2017-12-15 18:03||2017-12-15 18:03|
|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"|
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")
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.|
|2017-12-15 18:03||attila||New Issue|
|Copyright © 2000 - 2020 MantisBT Team|