File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ encapsulated package Global
3434 package: Global
3535 description: Global contains structures that are available globally.
3636
37- RCS: $Id: Global.mo 8980 2011-05-13 09:12:21Z adrpo $
37+ RCS: $Id$
3838
3939 The Global package contains structures that are available globally."
4040
@@ -51,4 +51,9 @@ constant Integer flagsIndex = 7;
5151constant Integer builtinGraphEnvIndex = 8 ;
5252constant Integer instOnlyForcedFunctions = 9 ;
5353
54+ public function initialize "Called to initialize global roots (when needed)"
55+ algorithm
56+ setGlobalRoot(instOnlyForcedFunctions, NONE());
57+ end initialize;
58+
5459end Global;
Original file line number Diff line number Diff line change @@ -1035,7 +1035,7 @@ algorithm
10351035 _ := matchcontinue args
10361036 case _
10371037 equation
1038- setGlobalRoot( Global . instOnlyForcedFunctions, NONE () );
1038+ Global . initialize( );
10391039 System . realtimeTick(CevalScript . RT_CLOCK_SIMULATE_TOTAL );
10401040 args_1 = Flags . new(args);
10411041 System . gettextInit(Util . if_(Config . getRunningTestsuite(),"C" ,Flags . getConfigString(Flags . LOCALE_FLAG )));
You can’t perform that action at this time.
0 commit comments