Changeset 93027da0 in OpenModelica
- Timestamp:
- 2020-09-10T11:11:37+02:00 (4 years ago)
- Parents:
- 08661c9
- git-author:
- Per Östlund <perost86@…> (09/10/20 11:10:47)
- git-committer:
- Per Östlund <perost86@…> (09/10/20 11:11:37)
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo
re84fce5 r93027da0 212 212 213 213 function getComponentDirection 214 "Returns the given direction if the cref refers to a top-level component or to 215 a component in a top-level connector, otherwise returns Direction.NONE." 214 "Returns the given direction if the cref refers to a top-level component, 215 a component in a top-level connector, or a component in a top-level input 216 component, otherwise returns Direction.NONE." 216 217 input output Direction dir; 217 218 input ComponentRef cref; … … 222 223 case ComponentRef.EMPTY() then dir; 223 224 case ComponentRef.CREF() 224 then if InstNode.isConnector(rest_cref.node) then225 then if InstNode.isConnector(rest_cref.node) or InstNode.isInput(rest_cref.node) then 225 226 getComponentDirection(dir, rest_cref) else Direction.NONE; 226 227 end match; -
testsuite/flattening/modelica/scodeinst/Makefile
r1623955a r93027da0 847 847 Time2.mo \ 848 848 Time3.mo \ 849 TopLevelInputs1.mo \ 849 850 TupleInvalid1.mo \ 850 851 TupleInvalid2.mo \
Note: See TracChangeset
for help on using the changeset viewer.