shithub: rgbds

Download patch

ref: 7437f7eb85d39e6f00d89eb26ec44007166c7d34
parent: d6a99981d6feede785cade9240c486cf6ba1b5aa
author: ISSOtm <[email protected]>
date: Thu Jan 16 22:53:27 EST 2020

Clarify redefinition error message

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -476,7 +476,7 @@
 			yyerror("'%s' already defined at %s(%u)",
 				tzSym, nsym->tzFileName, nsym->nFileLine);
 		} else if (nsym->nType & SYMF_REF) {
-			yyerror("'%s' already referenced at %s(%u)",
+			yyerror("'%s' referenced as label at %s(%u)",
 				tzSym, nsym->tzFileName, nsym->nFileLine);
 		}
 	} else {