Print assembly even if there's no data section

This commit is contained in:
Alex Beregszaszi 2017-06-14 13:30:34 +01:00
parent f008ddf836
commit 3273e865ec

View File

@ -315,8 +315,10 @@ Json::Value Assembly::streamAsmJson(ostream& _out, StringMap const& _sourceCodes
data[hexStr.str()] = m_subs[i]->stream(_out, "", _sourceCodes, true);
}
root[".data"] = data;
_out << root;
}
_out << root;
return root;
}