mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Report errors about labels in macros.
This commit is contained in:
parent
49c2010b63
commit
1140061529
@ -1537,7 +1537,7 @@ public class SleighCompile extends SleighBase {
|
||||
entry("buildMacro", sym, rtl);
|
||||
String errstring = checkSymbols(symtab.getCurrentScope());
|
||||
if (errstring.length() != 0) {
|
||||
reportError(sym.getLocation(), " in definition of macro " + sym.getName() + ":");
|
||||
reportError(sym.getLocation(), " in definition of macro " + sym.getName() + ":" + errstring);
|
||||
return;
|
||||
}
|
||||
if (!expandMacros(rtl)) {
|
||||
|
Loading…
Reference in New Issue
Block a user