Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#2747 closed enhancement (invalid)

dots are allowed in component names, resulting in errors

Reported by: Lou Owned by: Adeel Asghar
Priority: normal Milestone: 1.9.1
Component: *unknown* Version: trunk
Keywords: Cc:

Description

The use of the dot '.' is allowed in Openmodelica for the name attribute. Errors could arise, since the dot is a special character.

Change History (2)

comment:1 by Adeel Asghar, 10 years ago

Resolution: invalid
Status: newclosed

You are only allowed to add a '.' within the single quotes block. For example,

model M
 Real 'name.attribute';
end M;

Read section 2.3.1 Identifiers of Modelica Specification 3.2

comment:2 by Dietmar Winkler, 9 years ago

Component: User interfaceUnknown
Note: See TracTickets for help on using tickets.