/[ascend]/trunk/base/generic/compiler/check.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/check.c

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

revision 221 by johnpye, Mon Jan 16 08:53:30 2006 UTC revision 222 by johnpye, Fri Jan 27 04:23:20 2006 UTC
# Line 234  void CheckCompleteness(FILE *f, CONST st Line 234  void CheckCompleteness(FILE *f, CONST st
234    if (pass) {    if (pass) {
235      blist = InstanceBitList(i);      blist = InstanceBitList(i);
236      if (blist!=NULL && !BitListEmpty(blist)){      if (blist!=NULL && !BitListEmpty(blist)){
237        error_reporter_start(ASC_PROG_WARNING,NULL,0);        ERROR_REPORTER_START_NOLINE(ASC_PROG_WARNING);
238        WriteInstanceName(f,i,NULL);        WriteInstanceName(f,i,NULL);
239        FPRINTF(f," has the following unexecuted statements.\n");        FPRINTF(f," has the following unexecuted statements.\n");
240        desc = InstanceTypeDesc(i);        desc = InstanceTypeDesc(i);
# Line 252  void CheckCompleteness(FILE *f, CONST st Line 252  void CheckCompleteness(FILE *f, CONST st
252      }      }
253    }    }
254    if (IncompleteArray(i)) {    if (IncompleteArray(i)) {
255      error_reporter_start(ASC_PROG_WARNING,NULL,0);      ERROR_REPORTER_START_NOLINE(ASC_PROG_WARNING);
256      WriteInstanceName(f,i,NULL);      WriteInstanceName(f,i,NULL);
257      FPRINTF(f," has the following incomplete arrays.\n");      FPRINTF(f," has the following incomplete arrays.\n");
258      error_reporter_end_flush();      error_reporter_end_flush();

Legend:
Removed from v.221  
changed lines
  Added in v.222

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22