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

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

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

revision 221 by johnpye, Fri Jan 13 02:35:00 2006 UTC revision 222 by johnpye, Fri Jan 27 04:23:20 2006 UTC
# Line 650  void WriteStatementErrorMessage(FILE *f, Line 650  void WriteStatementErrorMessage(FILE *f,
650    }    }
651    
652    if (level == 0 || level ==3 ){    if (level == 0 || level ==3 ){
653      error_reporter_start(ASC_USER_ERROR,filename,line);      error_reporter_start(ASC_USER_ERROR,filename,line,NULL);
654      FPRINTF(f,"%s\n",message);      FPRINTF(f,"%s\n",message);
655    }else if(level < 0){    }else if(level < 0){
656      error_reporter_start(ASC_PROG_NOTE,filename,line);      error_reporter_start(ASC_PROG_NOTE,filename,line,NULL);
657      FPRINTF(f,"%s\n",message);      FPRINTF(f,"%s\n",message);
658    }else{    }else{
659      error_reporter_start(ASC_USER_ERROR, filename, line);      error_reporter_start(ASC_USER_ERROR, filename, line,NULL);
660      FPRINTF(f,"%s%s\n",StatioLabel(level), message);      FPRINTF(f,"%s%s\n",StatioLabel(level), message);
661    }    }
662    

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

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