pike.git / lib / modules / Tools.pmod / Standalone.pmod / autodoc_to_html.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/autodoc_to_html.pike:485:    if( !min && !max )    return type;    if( !min )    return type+"(.."+parse_text(max)+")";    if( !max )    return type+"("+parse_text(min)+"..)";       int low = (int)parse_text(min);    int high = (int)parse_text(max);    -  if( low == 0 && (high+1)->popcnt() == 1 ) +  if( low == 0 && (high+1)->popcount() == 1 )    {    return type+"("+strlen((high+1)->digits(2))+"bit)";    }    return type+"("+low+".."+high+")";   }      //! Typically called with a <group/> node or a sub-node that is a container.   string parse_text(Node n, void|String.Buffer ret) {    if(n->get_node_type()==XML_TEXT && n->get_text()) {    if(ret)