}
} else {
/* Duplicate scope name */
- Internal ("Duplicate scope name: `%m%p'", Name);
+ Internal ("Duplicate scope name: '%m%p'", Name);
}
}
}
/* Check if the scope has been defined before */
if (CurrentScope->Flags & ST_DEFINED) {
- Error ("Duplicate scope `%m%p'", ScopeName);
+ Error ("Duplicate scope '%m%p'", ScopeName);
}
} else {
if (Sym->Flags & SF_IMPORT) {
/* The symbol is already marked as import */
LIError (&S->RefLines,
- "Symbol `%s' is already an import",
+ "Symbol '%s' is already an import",
GetString (Sym->Name));
}
if ((Sym->Flags & SF_EXPORT) == 0) {
if (Sym->AddrSize > Sym->ExportSize) {
/* We're exporting a symbol smaller than it actually is */
LIWarning (&Sym->DefLines, 1,
- "Symbol `%m%p' is %s but exported %s",
+ "Symbol '%m%p' is %s but exported %s",
GetSymName (Sym),
AddrSizeToStr (Sym->AddrSize),
AddrSizeToStr (Sym->ExportSize));
if (S->Flags & SF_EXPORT) {
/* We will not auto-import an export */
LIError (&S->RefLines,
- "Exported symbol `%m%p' was never defined",
+ "Exported symbol '%m%p' was never defined",
GetSymName (S));
} else {
if (AutoImport) {
} else {
/* Error */
LIError (&S->RefLines,
- "Symbol `%m%p' is undefined",
+ "Symbol '%m%p' is undefined",
GetSymName (S));
}
}
ReleaseFullLineInfo (&S->RefLines);
} else if ((S->Flags & SF_DEFINED) != 0 && (S->Flags & SF_REFERENCED) == 0) {
LIWarning (&S->DefLines, 2,
- "Symbol `%m%p' is defined but never used",
+ "Symbol '%m%p' is defined but never used",
GetSymName (S));
}
if ((S->Flags & (SF_REFERENCED | SF_FORCED)) == SF_NONE) {
/* Imported symbol is not referenced */
LIWarning (&S->DefLines, 2,
- "Symbol `%m%p' is imported but never used",
+ "Symbol '%m%p' is imported but never used",
GetSymName (S));
} else {
/* Give the import an id, count imports */
} else if (S->AddrSize > S->ExportSize) {
/* We're exporting a symbol smaller than it actually is */
LIWarning (&S->DefLines, 1,
- "Symbol `%m%p' is %s but exported %s",
+ "Symbol '%m%p' is %s but exported %s",
GetSymName (S),
AddrSizeToStr (S->AddrSize),
AddrSizeToStr (S->ExportSize));
const FilePos* P = S->GuessedUse[S->AddrSize - 1];
if (P) {
PWarning (P, 0,
- "Didn't use %s addressing for `%m%p'",
+ "Didn't use %s addressing for '%m%p'",
AddrSizeToStr (S->AddrSize),
GetSymName (S));
}