/[ascend]/trunk/base/generic/compiler/ascParse.y
ViewVC logotype

Diff of /trunk/base/generic/compiler/ascParse.y

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

revision 221 by johnpye, Tue Jan 17 05:48:00 2006 UTC revision 222 by johnpye, Fri Jan 27 04:23:20 2006 UTC
# Line 668  atom_def: Line 668  atom_def:
668            ErrMsg_NullDefPointer(SCP(g_type_name));            ErrMsg_NullDefPointer(SCP(g_type_name));
669          }          }
670        } else {        } else {
671          error_reporter(ASC_USER_ERROR,Asc_ModuleBestName(Asc_CurrentModule()),g_header_linenum,          error_reporter(ASC_USER_ERROR,Asc_ModuleBestName(Asc_CurrentModule()),g_header_linenum,NULL,
672                  "Atom dimensions don't match in ATOM %s on line %s:%lu.\n",                  "Atom dimensions don't match in ATOM %s on line %s:%lu.\n",
673                  SCP(g_type_name),                  SCP(g_type_name),
674                  Asc_ModuleBestName(Asc_CurrentModule()),                  Asc_ModuleBestName(Asc_CurrentModule()),
# Line 762  constant_def: Line 762  constant_def:
762            ErrMsg_NullDefPointer(SCP(g_type_name));            ErrMsg_NullDefPointer(SCP(g_type_name));
763          }          }
764        } else {        } else {
765          error_reporter(ASC_USER_ERROR,Asc_ModuleBestName(Asc_CurrentModule()),g_header_linenum,          error_reporter(ASC_USER_ERROR,Asc_ModuleBestName(Asc_CurrentModule()),g_header_linenum,NULL,
766                  "Constant dimensions don't match in CONSTANT %s"                  "Constant dimensions don't match in CONSTANT %s"
767                  " on line %s:%lu.\n",                  " on line %s:%lu.\n",
768                  SCP(g_type_name),                  SCP(g_type_name),
# Line 2870  static void CollectNote(struct Note *n) Line 2870  static void CollectNote(struct Note *n)
2870  static void error_reporter_current_line(const error_severity_t sev, const char *fmt,...){  static void error_reporter_current_line(const error_severity_t sev, const char *fmt,...){
2871      va_list args;      va_list args;
2872      va_start(args,fmt);      va_start(args,fmt);
2873      va_error_reporter(sev,Asc_ModuleBestName(Asc_CurrentModule()),(int)LineNum(),fmt,args);      va_error_reporter(sev,Asc_ModuleBestName(Asc_CurrentModule()),(int)LineNum(),NULL,fmt,args);
2874      va_end(args);      va_end(args);
2875  }  }

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

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