sean            Tue Feb  6 07:11:06 2007 UTC

  Modified files:              
    /phpdoc/scripts     functable.php 
  Log:
  fix broken identifiers (thanks philip)
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/functable.php?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/scripts/functable.php
diff -u phpdoc/scripts/functable.php:1.12 phpdoc/scripts/functable.php:1.13
--- phpdoc/scripts/functable.php:1.12   Tue Feb  6 06:32:56 2007
+++ phpdoc/scripts/functable.php        Tue Feb  6 07:11:06 2007
@@ -15,7 +15,7 @@
 +----------------------------------------------------------------------+
 | Authors:    Sean Coates <[EMAIL PROTECTED]>                               |
 +----------------------------------------------------------------------+
-$Id: functable.php,v 1.12 2007/02/06 06:32:56 sean Exp $
+$Id: functable.php,v 1.13 2007/02/06 07:11:06 sean Exp $
 */
 
 // direct the output of this file into phpdoc/phpbook/phpbook-xsl/version.xml
@@ -87,10 +87,7 @@
         }
     } while (1);
 
-    if (!$standalone) {
-        $tags = array();
-    }
-
+    $tags = array();
     foreach ($log as $l) {
         if (substr($l, 0, 1) != "\t") {
             break;
@@ -205,7 +202,7 @@
             foreach ($protos AS $line => $p) {
                 preg_match($protoRegex, $p, $m);
                 $thisProto = array(
-                    'file' => substr($f, strlen(SRC_DIR) + 1),
+                    'file' => substr($f, strlen(PATH_TMP) + 1),
                     'type' => $m[1],
                     'func' => strtolower($m[2]),
                     'params' => $m[3],
@@ -241,7 +238,7 @@
                     if (!in_array($matches[2], $protoFuncs)) {
                         fwrite(STDERR, "Missing proto: $func\n");
                         $funcs[] = array(
-                            'file' => substr($f, strlen(SRC_DIR) + 1),
+                            'file' => substr($f, strlen(PATH_TMP) + 1),
                             'func' => $func,
                         );
                     }


Reply via email to