cvs: functable / funcimp.awk genfunclist

[email protected] ("Rasmus Lerdorf")
Newsgroups php.doc.web
Message-ID <cvsrasmus1141694010@cvsserver>
rasmus		Tue Mar  7 01:13:30 2006 UTC

  Modified files:              
    /functable	funcimp.awk genfunclist 
  Log:
  Support for classes
  
  
http://cvs.php.net/viewcvs.cgi/functable/funcimp.awk?r1=1.1.1.1&r2=1.2&diff_format=u
Index: functable/funcimp.awk
diff -u functable/funcimp.awk:1.1.1.1 functable/funcimp.awk:1.2
--- functable/funcimp.awk:1.1.1.1	Tue Oct 10 17:34:32 2000
+++ functable/funcimp.awk	Tue Mar  7 01:13:29 2006
@@ -1,3 +1,7 @@
 BEGIN { FS="[\")(,]"; }
 /^[[:space:]]*PHP_FUNCTION/ { print "INSERT INTO funcimp SET function='"$2"',version='-v-',file='-f-',lineno="NR";"; }
 /^[[:space:]]*ZEND_FUNCTION/ { print "INSERT INTO funcimp SET function='"$2"',version='-v-',file='-f-',lineno="NR";"; }
+/^[[:space:]]*ZEND_METHOD/ { 
+   class_name = sprintf("%s%s",toupper(substr($2,1,1)),substr($2,2,length($2)-1));
+   print class_name,"::",$3; 
+}
http://cvs.php.net/viewcvs.cgi/functable/genfunclist?r1=1.16&r2=1.17&diff_format=u
Index: functable/genfunclist
diff -u functable/genfunclist:1.16 functable/genfunclist:1.17
--- functable/genfunclist:1.16	Sat Sep  3 15:44:06 2005
+++ functable/genfunclist	Tue Mar  7 01:13:29 2006
@@ -5,7 +5,7 @@
 
 # for the releases we do not replace informations
 # already available
-for version in $versions php_3_cvs php_4_cvs php_5_cvs pecl_cvs
+for version in $versions php_4_cvs php_5_cvs php_6_cvs pecl_cvs
 do
 	echo -n "parsing version $version ... "
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.