Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- translates case local names into function wide local names and has nicer name prefixes to have more easily distinguishable origins of the generated identifiers - respects full 'hasindex' semantics with a new keyword 'from' added that is used instead of indexOffset= option new syntax is: lst |> elem hasindex myIndex3 from 3 => '<%elem%><%myIndex3%>' the 'from' keyword is optional (and can only together with 'hasindex'); default is 0 - does not hide implicitly scoped patterned matched record fields in 'if' expressions (only directly tested implicitly scoped values was visible after 'then' till now) - has much better 'let' scoping, to be continued ... - has better emptiness testing of Texts in 'if' expressions (does direct Text value test for emptiness instead of translating it to string) - reports better errors for options; mainly does not allow a typo in option names and non-sense options are errors now - SimCodeC.tpl - rewritten to respect the new 'hasindex' ['from'] syntax - fixed a typo 'seprator' -> 'separator' - in template initRecordMembers() fixed RECORD to RECORD(__) - in template patternMatch() in case PAT_CALL(__) fixed placement of empty= option (to be removed later entirely for this context) git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7192 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
16 changed files
with
20,156 additions
and
22,740 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.