Opened 11 years ago
Closed 11 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 , 11 years ago
| Component: | OMEdit → Parser |
|---|---|
| Owner: | changed from to |
| Status: | new → accepted |
Note:
See TracTickets
for help on using tickets.

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