« Previous | Next » 

Revision 8bc17ebb

ID8bc17ebb9a35d93fe4ea052aa4c09790fad1be08
Parent 5cd95d46
Child ad1c1e41

Added by Iustin Pop over 8 years ago

Add optional formatting for OP_DSC_FIELD

For some opcodes, the output is not "stable", and depends on the exact
input values; this makes it harder to check consistency against
Haskell code.

To compensate for this, we add a way to override the formatting of the
OP_DSC_FIELD; by default, this is always "%s", but if the
OP_DSC_FORMATTER is defined (must be a callable), it is used to format
the actual value.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences