Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-target/fragments/par-main.in
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-target/fragments/par-main.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2707, Sat Sep 20 15:11:18 2014 UTC revision 2708, Sat Sep 20 18:46:49 2014 UTC
# Line 5  Line 5 
5      bool        printOutputFlg = false; //! true if output is in text format      bool        printOutputFlg = false; //! true if output is in text format
6    
7    // create the world    // create the world
8      @PREFIX@World_t *wrld = @PREFIX@Init();      @PREFIX@World_t *wrld = @PREFIX@New();
9      if (wrld == 0) {      if (wrld == 0) {
10          fprintf(stderr, "unable to create world\n");          fprintf(stderr, "unable to create world\n");
11          exit (1);          exit (1);
# Line 28  Line 28 
28          InitInputs (wrld, &inputs);          InitInputs (wrld, &inputs);
29      }      }
30    
31      // initialize scheduler stuff
32        if (wrld->verboseFlg)
33            fprintf (stderr, "initializing world ...\n");
34        if (@PREFIX@Init (wrld)) {
35            fprintf(stderr, "Error initializing world:\n%s\n", biffMsgStrGet(wrld->errors));
36            exit(1);
37        }
38    
39    // run the generated global initialization code    // run the generated global initialization code
40      if (wrld->verboseFlg)      if (wrld->verboseFlg)
41          fprintf (stderr, "initializing globals ...\n");          fprintf (stderr, "initializing globals ...\n");
42      if (@PREFIX@Initially (wrld)) {      if (@PREFIX@Initially (wrld)) {
43          fprintf(stderr, "Error getting initializing:\n%s\n", biffMsgStrGet(wrld->errors));          fprintf(stderr, "Error in global initialization:\n%s\n", biffMsgStrGet(wrld->errors));
44          exit(1);          exit(1);
45      }      }
46    

Legend:
Removed from v.2707  
changed lines
  Added in v.2708

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0