- $TOC[basename($f)][$n[1]][$n[2]] = $n[1].'::'.$n[2].'()';
- printf("<h%d id=\"%s\">%s</h%d>\n", 3, $n[1].'_'.$n[2], $p, 3);
- } else {
- $TOC[basename($f)][$m[4][$i]] = $m[4][$i].'()';
- printf("<h%d id=\"%s\">%s</h%d>\n", 2, $m[4][$i], $p, 2);
- }
- print ff($m[3][$i]) ."\n";
- /*
- printf("<h%d id=\"%s\">%s</h%d>\n%s\n",
- $o?3:2, $o?$n[1].'_'.$n[2]:$m[4][$i], $p, $o?3:2, ff($m[3][$i]));
- */
+ $TOC[basename($f)][$n[1]][$n[2]] = $n[1].'::'.$n[2].'()';
+ printf("<h%d id=\"%s\">%s</h%d>\n", 3, $n[1].'_'.$n[2], $p, 3);
+ } else {
+ $TOC[basename($f)][$m[4][$i]] = $m[4][$i].'()';
+ printf("<h%d id=\"%s\">%s</h%d>\n", 2, $m[4][$i], $p, 2);
+ }
+ print ff($m[3][$i]) ."\n";