OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001027OMNeT++simulation kernelpublic2017-12-15 18:032017-12-15 18:03
Assigned To 
PlatformOSOS Version
Product Version5.2 
Target VersionFixed in Version 
Summary0001027: String literal parsing in NED @properties
DescriptionBreaking 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" \

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")

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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-12-15 18:03 attila New Issue

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker