Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2.1 Beta1 fails on MapleSim Parser #1130

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 2 comments
Closed

3.2.1 Beta1 fails on MapleSim Parser #1130

modelica-trac-importer opened this issue Jan 14, 2017 · 2 comments
Assignees
Labels
bug Critical/severe issue L: Media Issue addresses Modelica.Media
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by dietmarw on 27 May 2013 12:27 UTC
I just ran the MapleSim parser and it reports the following error:

syntax error on line 376 of ./Media/Air/ReferenceMoistAir.mo: expected `=` but received `.`

Migrated-From: https://trac.modelica.org/Modelica/ticket/1130

@modelica-trac-importer modelica-trac-importer added this to the MSL3.2.1 milestone Jan 14, 2017
@modelica-trac-importer modelica-trac-importer added bug Critical/severe issue L: Media Issue addresses Modelica.Media labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by stefanv on 27 May 2013 14:25 UTC
I believe the MapleSim parser is correct. The snippet of code giving the error is of the form:

v := F(function G(state.p), x, y, z);

The grammar for function arguments is:

function_argument :  
    "function" name "(" [ named_arguments ] ")"
    | expression 

Thus, the argument function G(state.p) is not valid. It should be function G(something=state.p).

@modelica-trac-importer
Copy link
Author

Comment by otter on 28 May 2013 08:17 UTC
Fixed in 725fad2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Critical/severe issue L: Media Issue addresses Modelica.Media
Projects
None yet
Development

No branches or pull requests

2 participants