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,7 +816,11 @@ string CartDebug::loadSymbolFile()
if(pos != string::npos)
addLabel(label.substr(pos), value);
else
addLabel(label, value);
{
pos = label.find_last_of("$");
if (pos == string::npos || pos != label.length() - 1)
addLabel(label, value);
}
}
}
}