mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Report errors about labels in macros.
This commit is contained in:
parent
49c2010b63
commit
1140061529
1 changed files with 1 additions and 1 deletions
|
@ -1537,7 +1537,7 @@ public class SleighCompile extends SleighBase {
|
||||||
entry("buildMacro", sym, rtl);
|
entry("buildMacro", sym, rtl);
|
||||||
String errstring = checkSymbols(symtab.getCurrentScope());
|
String errstring = checkSymbols(symtab.getCurrentScope());
|
||||||
if (errstring.length() != 0) {
|
if (errstring.length() != 0) {
|
||||||
reportError(sym.getLocation(), " in definition of macro " + sym.getName() + ":");
|
reportError(sym.getLocation(), " in definition of macro " + sym.getName() + ":" + errstring);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!expandMacros(rtl)) {
|
if (!expandMacros(rtl)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue