Browse Source

corrected asm-json output

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

2
libevmasm/Assembly.cpp

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

Loading…
Cancel
Save