OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000773OMNeT++IDE / NED editorpublic2014-09-05 09:322014-12-12 16:31
Reporterrhornig 
Assigned Torhornig 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionfixed 
PlatformOSOS Version
Product Version4.5 
Target VersionFixed in Version4.6 
Summary0000773: Specifying a property on two lines is not possible on Linux
DescriptionTry to use this in the NED editor:
        @display("bgi=background/terrain,s"
        );

This results in a parse error in IDE. This is not happening on Windows.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000929)
andras (administrator)
2014-09-23 10:40

To reproduce, save the following into a.ned:
@f(a=
foo);

Then run: nedtool -x a.ned

The result will be the following XML:

<ned-file filename="a.ned">
    <property name="f">
        <property-key name="a">
            <literal type="spec" text="@f(a= foo" value="@f(a= foo"/>
        </property-key>
    </property>
</ned-file>

It should contain text="foo".

Also occurs on Windows.
(0000930)
andras (administrator)
2014-09-23 12:28

It was a bug in the lexer, ned2.lex (and also msg2.lex): in Flex, "." doesn't match the newline, one must explicitly handle that case (or use {S} that includes \n too).

- Issue History
Date Modified Username Field Change
2014-09-05 09:32 rhornig New Issue
2014-09-08 09:39 rhornig Summary Specifying a property on two linesa are not possible on Linux => Specifying a property on two lines is not possible on Linux
2014-09-23 10:40 andras Note Added: 0000929
2014-09-23 12:28 andras Note Added: 0000930
2014-09-23 12:28 andras Status new => resolved
2014-09-23 12:28 andras Resolution open => fixed
2014-09-23 12:28 andras Assigned To => andras
2014-12-12 16:30 andras Assigned To andras => rhornig
2014-12-12 16:30 andras Status resolved => assigned
2014-12-12 16:31 andras Fixed in Version => 4.6


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker