Changeset 89f929f in OpenModelica
- Timestamp:
- 2012-11-21T13:11:44+01:00 (11 years ago)
- Branches:
- Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
- Children:
- 991b036
- Parents:
- bcd287c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Compiler/FrontEnd/SCodeInst.mo
rbcd287c r89f929f 2845 2845 Element el; 2846 2846 list<Element> rest_el; 2847 list<Element> inputs, outputs, locals, els; 2848 2849 case ({}, _, _, _) 2850 then (listReverse(inAccumInputs), listReverse(inAccumOutputs), listReverse(inAccumLocals)); 2851 2852 // ignore packages! Modelica.Media.IdealGases.Common.SingleGasNasa.T_h contains package Internal. 2853 case ((el as InstTypes.ELEMENT(component = InstTypes.PACKAGE(name = name))) :: rest_el, 2854 inputs, outputs, locals) 2855 equation 2856 (inputs, outputs, locals) = getFunctionParameters2(rest_el, inputs, outputs, locals); 2857 then 2858 (inputs, outputs, locals); 2847 list<Element> inputs, outputs, locals; 2859 2848 2860 2849 case ((el as InstTypes.ELEMENT(component = InstTypes.UNTYPED_COMPONENT( … … 2869 2858 (inputs, outputs, locals); 2870 2859 2871 // ignore CONDITIONAL components2872 case ( (el as InstTypes.CONDITIONAL_ELEMENT(component = _)):: rest_el, inputs, outputs, locals)2860 // Ignore any elements which are not untyped components. 2861 case (_ :: rest_el, inputs, outputs, locals) 2873 2862 equation 2874 2863 (inputs, outputs, locals) = getFunctionParameters2(rest_el, inputs, outputs, locals); 2875 2864 then 2876 2865 (inputs, outputs, locals); 2866 2867 case ({}, _, _, _) 2868 then (listReverse(inAccumInputs), listReverse(inAccumOutputs), listReverse(inAccumLocals)); 2869 2877 2870 end match; 2878 2871 end getFunctionParameters2;
Note: See TracChangeset
for help on using the changeset viewer.