OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000795OMNeT++command line toolspublic2014-12-01 10:592014-12-01 10:59
andras 
andras 
normalmajoralways
resolvedfixed 
4.6b1 
4.6 
0000795: Message compiler: wrong parsing of compound namespaces
[From Doug Hodson via the omnetpp mailing list]

For version 4.6, opp_msgc has been rewritten in C++ as part of nedtool. The new code has problem with the parsing of compound namespaces in message files.

Namespace declaration in the message file:

   namespace A::B::C

generates this:

   namespace A {
   namespace B::C {
   namespace C {

It should be:

   namespace A {
   namespace B {
   namespace C {

Another example:

   namespace org::omnetpp::inet::ieee80211;

generates this:

   namespace org {
   namespace omnetpp::ine {
   namespace inet::ieee80211 {
   namespace ieee80211 {

No tags attached.
Issue History
2014-12-01 10:59andrasNew Issue
2014-12-01 10:59andrasNote Added: 0000957
2014-12-01 10:59andrasStatusnew => resolved
2014-12-01 10:59andrasFixed in Version => 4.6
2014-12-01 10:59andrasResolutionopen => fixed
2014-12-01 10:59andrasAssigned To => andras
2015-10-12 09:28ammmar1988Issue cloned: 0000872

Notes
(0000957)
andras   
2014-12-01 10:59   
Fixed bug in MsgCppGenerator::generateNamespaceBegin()