Skip to content

Commit

Permalink
disasm: Prettify oplib version
Browse files Browse the repository at this point in the history
  • Loading branch information
Benabik committed Nov 16, 2011
1 parent c74ad5c commit cf92723
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/disasm.winxed
Expand Up @@ -173,8 +173,14 @@ function bytecode_segment(var packfile) {

say( ' Oplibs:' );
var oplibs = packfile.oplibs;
for (string name in oplibs)
say( ' ', name, ' ', oplibs[name].version() );
for (string name in oplibs) {
var version = oplibs[name].version();
print( ' ', name, ' ', version[0] );
size = elements(version);
for(i = 1; i < size; ++i)
print( '.', version[i] );
say();
}

say( ' Opmap:' );
var opmap = packfile.opmap;
Expand Down

0 comments on commit cf92723

Please sign in to comment.