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/seq-main.in
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-target/fragments/seq-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          exit (1);          exit (1);
11    
# Line 23  Line 23 
23          InitInputs (wrld, &inputs);          InitInputs (wrld, &inputs);
24      }      }
25    
26      // initialize scheduler stuff
27        if (wrld->verboseFlg)
28            fprintf (stderr, "initializing world ...\n");
29        if (@PREFIX@Init (wrld)) {
30            fprintf(stderr, "Error initializing world:\n%s\n", biffMsgStrGet(wrld->errors));
31            exit(1);
32        }
33    
34    // run the generated global initialization code    // run the generated global initialization code
35      if (wrld->verboseFlg)      if (wrld->verboseFlg)
36          fprintf (stderr, "initializing globals ...\n");          fprintf (stderr, "initializing globals ...\n");
37      if (@PREFIX@Initially (wrld)) {      if (@PREFIX@Initially (wrld)) {
38          fprintf(stderr, "Error getting initializing:\n%s\n", biffMsgStrGet(wrld->errors));          fprintf(stderr, "Error in global initialization:\n%s\n", biffMsgStrGet(wrld->errors));
39          exit(1);          exit(1);
40      }      }
41    

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