This repository has been archived by the owner on May 18, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NF] Cleaning and various optimizations.
- Cleaned up the name lookup a bit, and got rid of the error spamming from Function.lookupFunctionSilent. - Changed the handling of Integer and String so that e.g. the type Integer and the function Integer are different entities, instead of e.g. using the same InstNode for both. - Optimize the constants in NFBuiltin and NFBuiltinFuncs so that they become actual constants in the generated code, and not created each time they're used. - Remove special handling of StateSelect and ExternalObject from the name lookup, since Modelica 3.4 clarifies that they aren't reserved names, and added ExternalObject to ModelicaBuiltin instead (StateSelect was already defined there). - Implemented a better check for subscripts on elements that shouldn't be subscripted. Belonging to [master]: - #2326 - OpenModelica/OpenModelica-testsuite#904
- Loading branch information
1 parent
11aa135
commit 1792dd7
Showing
13 changed files
with
308 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.