nlopess Mon Jul 18 07:43:11 2005 EDT
Modified files: /phpdoc/dsssl html-common.dsl Log: kill the other warning when building the manual with dsssl #Im testing now to check if there are any more warnings http://cvs.php.net/diff.php/phpdoc/dsssl/html-common.dsl?r1=1.19&r2=1.20&ty=u Index: phpdoc/dsssl/html-common.dsl diff -u phpdoc/dsssl/html-common.dsl:1.19 phpdoc/dsssl/html-common.dsl:1.20 --- phpdoc/dsssl/html-common.dsl:1.19 Thu Jul 14 17:13:08 2005 +++ phpdoc/dsssl/html-common.dsl Mon Jul 18 07:43:10 2005 @@ -1,6 +1,6 @@ ;; -*- Scheme -*- ;; -;; $Id: html-common.dsl,v 1.19 2005/07/14 21:13:08 nlopess Exp $ +;; $Id: html-common.dsl,v 1.20 2005/07/18 11:43:10 nlopess Exp $ ;; ;; Returns the depth of the auto-generated TOC (table of @@ -305,7 +305,8 @@ ;; not function pages themselfs) (element (refnamediv refname) (let* ((refid (attribute-string (normalize "id") (parent (parent (current-node))))) - (refid-length (if (string? refid) (string-length refid) 0))) + (refid (if (string? refid) refid "")) + (refid-length (string-length refid))) (if (not (string=? (substring refid 0 (if (<= refid-length 14) refid-length 14)) "reference.pcre"))