Handle absence of Natspec doc and add option to solc

This commit is contained in:
Lefteris Karapetsas 2014-12-02 11:03:34 +01:00
parent 7dbfde91e3
commit 0cc271fae9

View File

@ -136,6 +136,7 @@ int main(int argc, char** argv)
cout << eth::disassemble(compiler.getBytecode()) << endl; cout << eth::disassemble(compiler.getBytecode()) << endl;
cout << "Binary: " << toHex(compiler.getBytecode()) << endl; cout << "Binary: " << toHex(compiler.getBytecode()) << endl;
cout << "Interface specification: " << compiler.getInterface() << endl; cout << "Interface specification: " << compiler.getInterface() << endl;
cout << "Natspec documentation: " << compiler.getDocumentation() << endl;
return 0; return 0;
} }