"Too many macro parameters",
"Macro parameter expected",
"Circular reference in symbol definition",
- "Symbol redeclaration mismatch",
+ "Symbol `%s' redeclaration mismatch",
"Alignment value must be a power of 2",
"Duplicate `.ELSE'",
"Conditional assembly branch was never closed",
*/
if (S->Flags & SF_GLOBAL) {
if ((ZP != 0) != ((S->Flags & SF_ZP) != 0)) {
- Error (ERR_SYM_REDECL_MISMATCH);
+ Error (ERR_SYM_REDECL_MISMATCH, Name);
}
S->Flags &= ~SF_GLOBAL;
}
*/
if (S->Flags & SF_GLOBAL) {
if ((ZP != 0) != ((S->Flags & SF_ZP) != 0)) {
- Error (ERR_SYM_REDECL_MISMATCH);
+ Error (ERR_SYM_REDECL_MISMATCH, Name);
}
S->Flags &= ~SF_GLOBAL;
}
* size of the definition, then bail out. */
if (S->Flags & SF_IMPORT || S->Flags & SF_EXPORT) {
if ((ZP != 0) != ((S->Flags & SF_ZP) != 0)) {
- Error (ERR_SYM_REDECL_MISMATCH);
+ Error (ERR_SYM_REDECL_MISMATCH, Name);
}
return;
}
/* Check if the symbol was not already defined as ZP symbol */
if ((S->Flags & SF_ZP) != 0) {
- Error (ERR_SYM_REDECL_MISMATCH);
+ Error (ERR_SYM_REDECL_MISMATCH, Name);
}
/* If the symbol was already declared as a condes, check if the new
*/
if (S->ConDesPrio[Type] != CD_PRIO_NONE) {
if (S->ConDesPrio[Type] != Prio) {
- Error (ERR_SYM_REDECL_MISMATCH);
+ Error (ERR_SYM_REDECL_MISMATCH, Name);
}
}
S->ConDesPrio[Type] = Prio;