Opened 9 years ago

Closed 9 years ago

#3393 closed enhancement (wontfix)

OpenModelica fails to open package with syntax errors

Reported by: Jesse Gohl <jesse.gohl@…> Owned by: Martin Sjölund
Priority: low Milestone: never
Component: Parser Version: trunk
Keywords: Cc:

Description

I'm attempting to load a Modelica package into OpenModelica. The package has some known syntax errors. I would have expected OpenModelica to warn me about the errors but to continue to load the package as possible. The types of errors are:

  • a case mismatch between the component name in the code and the file name on the file system
  • a component defined in the package.order file that does not exist in the package.mo file or as a component .mo file

For some other issues I do get warnings but these two cases cause the loading of the package to fail.

Change History (4)

comment:1 by Adrian Pop, 9 years ago

We talked quite a bit about this and we reached the conclusion that we should not load packages with syntax errors. We might come back to the decision but for now this is how it is.

comment:2 by Martin Sjölund, 9 years ago

Component: UnknownParser
Milestone: Future
Owner: changed from somebody to Martin Sjölund
Priority: normallow

comment:3 by Dietmar Winkler, 9 years ago

Milestone: never

comment:4 by Dietmar Winkler, 9 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.