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/c-body.in
ViewVC logotype

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

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

revision 1861, Sat Apr 21 15:30:26 2012 UTC revision 1862, Sun Apr 22 19:45:47 2012 UTC
# Line 56  Line 56 
56  {  {
57      return 0; /* FIXME */      return 0; /* FIXME */
58  }  }
59    
60    //! Return true if there are any recorded error conditions
61    bool @PREFIX@AnyErrors (@PREFIX@World_t *wrld)
62    {
63        return (wrld->errors->errNum > 0);
64    }
65    
66    //! Return the pending error message (if any).  This call clears the pending error
67    //! state.
68    char *@PREFIX@GetErrors (@PREFIX@World_t *wrld)
69    {
70        char *msg = biffMsgStrGet (wrld->errors);
71        biffMsgClear (wrld->errors);
72        return msg;
73    }

Legend:
Removed from v.1861  
changed lines
  Added in v.1862

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