Opened 18 years ago

Last modified 18 years ago

#89 closed defect (fixed)

Identifier in "end" clause is not checked for matching

Reported by: filip Owned by: filip
Priority: critical Milestone:
Component: Version:
Keywords: Cc: filip, Adrian Pop

Description


Change History (2)

comment:1 by filip, 18 years ago

Identifier in "end" clause is not checked for matching

package A

class B

Real a;

end foo; Not checked

end bar; Not checked

class C

A.B b;

end foobar; Not checked

comment:2 by Adrian Pop, 18 years ago

Fixed in Subversion, revision 2604.
If the start identifier is not equal with
the end identifier a parse error will be thrown.

This fix will be part of OpenModelica 1.4.3.

Note: See TracTickets for help on using tickets.