You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- A list<Absyn.Info> so we can propagate line numbers for equations/algorithms further
- Absyn.mo does not yet contain this information, so the list is empty for now
- Changed code generation of functions without outputs
- They now have void as return type, and we generate a lot less code when calling them
- Added support for using builtin functions as function pointers
- PartialFn14.mos tests this functionality
- So far only print(<String>) is implemented in the runtime
- SimCode.getCalledFunctionsInFunction was updated slightly to work better with the new DAE structure
- DAEUtil.getNamedFunction now also looks in the FunctionTree structure
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5796 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
Copy file name to clipboardExpand all lines: Compiler/DAE.mo
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -104,14 +104,15 @@ end VarProtection;
104
104
105
105
uniontype ElementSource "gives information about the origin of the element"
106
106
record SOURCE
107
+
list<Absyn.Info> infoLst "the line and column numbers of the equations and algorithms this element came from; info does not yet exist in Absyn, but here is where it will end up";
107
108
list<Absyn.Within> partOfLst "the model(s) this element came from";
108
109
list<Option<ComponentRef>> instanceOptLst "the instance(s) this element is part of";
109
110
list<Option<tuple<ComponentRef, ComponentRef>>> connectEquationOptLst "this element came from this connect(s)";
110
111
list<Absyn.Path> typeLst "the classes where the type(s) of the element is defined";
0 commit comments