Merge remote-tracking branch 'origin/GT-2995_ryanmkurtz_PR-522_achan1989_error'

This commit is contained in:
Ryan Kurtz 2019-07-11 14:44:55 -04:00
commit 298a72f5d1

View file

@ -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)) {