Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » hhoerdegen
  • » Profile

Posts

Posts

Nov-04-13 21:25:29
omc allows illegal syntax
Category: Developer

Dear developers,

I have the following modelica program:

model M annotation (); Real v; end M;

Which produces:

$ omc M.mo
class M
  Real v;
end M;

However, according to the Modelica specivication 3.3, Appendix B.2, an annotation is never legal before an element_list.

Am I missing something or is this a bug of omc?

Sincerly yours,
Heinrich Hördegen

  • Index
  • » Users
  • » hhoerdegen
  • » Profile
You are here: