go/names.cc
std::string
Gogo::erroneous_name()
{
  go_assert(saw_errors());
  static int erroneous_count;
  char name[50];
  snprintf(name, sizeof name, ".erroneous%d", erroneous_count);
  ++erroneous_count;
  return name;
}
// Return an erroneous name that indicates that an error has already
// been reported.
Return an erroneous name that indicates that an error has already
been reported.
Return an erroneous name that indicates that an error has already been reported .
std::string
Gogo::erroneous_name()
{
  go_assert(saw_errors());
  static int erroneous_count;
  char name[50];
  snprintf(name, sizeof name, ".erroneous%d", erroneous_count);
  ++erroneous_count;
  return name;
}
std :: string Gogo :: erroneous_name ( ) { go_assert ( saw_errors ( ) ) ; static int erroneous_count ; char name [ 50 ] ; snprintf ( name , sizeof name , " " , erroneous_count ) ; ++ erroneous_count ; return name ; }
Return an erroneous name that indicates that an error has already
been reported.
Return an erroneous name that indicates that an error has already been reported .