fix for temporary macro labels ('...$')

This commit is contained in:
thrust26 2017-11-21 09:25:12 +01:00
parent 4228093638
commit 2efeb6cdb7
1 changed files with 5 additions and 1 deletions

View File

@ -816,10 +816,14 @@ string CartDebug::loadSymbolFile()
if(pos != string::npos)
addLabel(label.substr(pos), value);
else
{
pos = label.find_last_of("$");
if (pos == string::npos || pos != label.length() - 1)
addLabel(label, value);
}
}
}
}
myDebugger.rom().invalidate();
return "loaded " + node.getShortPath() + " OK";