Browse Source

corrected asm-json output

cl-refactor
Liana Husikyan 10 years ago
parent
commit
52fad1282c
  1. 6
      libevmasm/Assembly.cpp

6
libevmasm/Assembly.cpp

@ -213,9 +213,9 @@ Json::Value Assembly::streamAsmJson(ostream& _out, StringMap const& _sourceCodes
if (i.data() == 0)
collection.append(
createJsonValue("PUSH [ErrorTag]", i.getLocation().start, i.getLocation().end, ""));
collection.append(
createJsonValue("PUSH [tag]", i.getLocation().start, i.getLocation().end, string(i.data())));
else
collection.append(
createJsonValue("PUSH [tag]", i.getLocation().start, i.getLocation().end, string(i.data())));
break;
case PushSub:
collection.append(

Loading…
Cancel
Save