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 2040, Wed Oct 17 19:34:53 2012 UTC revision 2041, Thu Oct 18 13:16:15 2012 UTC
# Line 10  Line 10 
10          exit (1);          exit (1);
11    
12    // handle command-line options    // handle command-line options
13        {
14      Diderot_Options_t *opts = Diderot_OptNew ();      Diderot_Options_t *opts = Diderot_OptNew ();
15            @PREFIX@Inputs_t inputs;
16      Diderot_OptAddFlag (opts, "verbose", "enable runtime-system messages", &(wrld->verboseFlg));      Diderot_OptAddFlag (opts, "verbose", "enable runtime-system messages", &(wrld->verboseFlg));
17      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);
18      Diderot_OptAddFlag (opts, "text", "enable text output", &printOutputFlg);      Diderot_OptAddFlag (opts, "text", "enable text output", &printOutputFlg);
19      RegisterGlobalOpts (wrld, opts);          RegisterGlobalOpts (&inputs, opts);
20      Diderot_OptProcess (opts, argc, argv);      Diderot_OptProcess (opts, argc, argv);
21      Diderot_OptFree (opts);      Diderot_OptFree (opts);
22            InitInputs (wrld, &inputs);
23        }
24    
25    // run the generated global initialization code    // run the generated global initialization code
26      if (wrld->verboseFlg)      if (wrld->verboseFlg)

Legend:
Removed from v.2040  
changed lines
  Added in v.2041

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