Opened 10 years ago

Closed 10 years ago

#3282 closed defect (fixed)

Error when duplicating objects in OMEdit

Reported by: anonymous Owned by: Adrian Pop
Priority: high Milestone: 1.9.3
Component: Parser Version: trunk
Keywords: Cc:

Description

In OMEdit, when duplicating a model through crtl-D, duplication takes place, but a message box is displayed with the following text:

Error occurred building AST 
Syntax Error
[<interactive>:1:0-1:21:witable] Error: Parser error: Unexpected token near:
setComponentDimensions (IDENT)

Tested in OMEdit r 25570 under win 8

Change History (2)

comment:1 by Adrian Pop, 10 years ago

Component: OMEditParser
Owner: changed from Adeel Asghar to Adrian Pop
Status: newaccepted

The problem seems to be parsing of {} inside interactive statements.
Modelica doesn't allow {} but we should allow it inside interactive statements.

comment:2 by Adrian Pop, 10 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in r25591.

Note: See TracTickets for help on using tickets.