﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4233	Consecutive end <class> statements on the same lines wreak havoc in OMEdit	Francesco Casella	Martin Sjölund	"Through a sequence of operations that unfortunatly I cannot reproduce, I ended up with a .mo file with this content:
{{{
package P
 package Q
    model M1
    end M1;

    model M2
    end M2; end Q;
end P;
}}}

i.e., the newline after {{{end M2}}} got lost. This should also be fixed, but unfortunatly I have no idea how to reproduce this part.

AFAIK, this is perfectly legal Modelica code, but OMEdit cannot handle it: if I select model P.Q.M2, I see
{{{
    model M2
    end M2; end Q;
}}}
and whatever modification I apply, I get a syntax error."	defect	closed	critical	1.12.0	Interactive Environment		fixed		Martin Sjölund
