Branch: Tag:

2013-03-04

2013-03-04 11:23:01 by Chris Angelico <rosuav@gmail.com>

Retain indentation level when sprintf'ing %O a Standards.ASN1.Types.Sequence

202:    return this;    }    -  protected string _sprintf(int t) { -  return t=='O' && sprintf("%O(%s %O)", this_program, type_name, elements); +  protected string _sprintf(int t,mapping(string:int)|void params) { +  if (params) ++params->indent; else params=([]); +  return t=='O' && sprintf("%O(%s %*O)", this_program, type_name, params, elements);    }      #ifdef COMPATIBILITY