Skip to content
Snippets Groups Projects
Commit 61aadcdb authored by mattijs's avatar mattijs
Browse files

handling [(nil)] from sicortex

parent d611b859
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ void getSymbolForRaw ...@@ -149,7 +149,7 @@ void getSymbolForRaw
const word& address const word& address
) )
{ {
if (filename[0] == '/') if (filename.size() > 0 && filename[0] == '/')
{ {
string fcnt = pOpen string fcnt = pOpen
( (
...@@ -220,6 +220,7 @@ void error::printStack(Ostream& os) ...@@ -220,6 +220,7 @@ void error::printStack(Ostream& os)
if (lPos != string::npos && rPos != string::npos && lPos<rPos) if (lPos != string::npos && rPos != string::npos && lPos<rPos)
{ {
address = msg.substr(lPos+1, rPos-lPos-1); address = msg.substr(lPos+1, rPos-lPos-1);
msg = msg.substr(0, lPos);
} }
string::size_type bracketPos = msg.find('('); string::size_type bracketPos = msg.find('(');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment