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

Correctly detect Modelica or MetaModelica language from '.mo' files. #24

Open
AnHeuermann opened this issue Jan 26, 2024 · 0 comments
Open
Assignees

Comments

@AnHeuermann
Copy link
Owner

Description

When opening .mo files correctly identify if it is a Modelica or a MetaModelica file. Default to Modelica if it can't be decided.

Examples

model M
end M;

Detect modelica since MetaModelica doesn't has keyword model.

uniontype Real
end Real;

Detect metamodelica since uniontype is not a Modelica keyword.

@AnHeuermann AnHeuermann self-assigned this Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant