Include label name in the unused label warning.

Close #1.
This commit is contained in:
Piotr Fusik 2016-01-03 08:47:19 +01:00
parent b42f9dc2bf
commit d7c22cec84
1 changed files with 1 additions and 1 deletions

2
xasm.d
View File

@ -2709,7 +2709,7 @@ void assemblyLine() {
currentLabel = labelTable[label];
currentLabel.passed = true;
if (currentLabel.unused && getOption('u') && optionUnusedLabels)
warning("Unused label");
warning("Unused label: " ~ label);
}
}
if (eol()) {