apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apr/helpers make_export.awk
Date Fri, 22 Dec 2000 14:32:38 GMT
rbb         00/12/22 06:32:38

  Modified:    helpers  make_export.awk
  Log:
  We need to search for AP_DECLARE APR_DECLARE and APU_DECLARE now.
  
  Revision  Changes    Path
  1.4       +3 -3      apr/helpers/make_export.awk
  
  Index: make_export.awk
  ===================================================================
  RCS file: /home/cvs/apr/helpers/make_export.awk,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- make_export.awk	2000/12/20 14:28:45	1.3
  +++ make_export.awk	2000/12/22 14:32:37	1.4
  @@ -1,6 +1,6 @@
   # Based on Ryan Bloom's make_export.pl
   
  -/^#[ \t]*if(def)? (APR?_|!?defined).*/ {
  +/^#[ \t]*if(def)? (AP[RU]?_|!?defined).*/ {
   	if (old_filename != FILENAME) {
   		if (old_filename != "") printf("%s", line)
   		macro_no = 0
  @@ -32,14 +32,14 @@
   	next
   }
   
  -/^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/
{
  +/^[ \t]*(AP[RU]?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/
{
   	if (found) {
   		found++
   	}
   	for (i = 0; i < count; i++) {
   		line = line "\t"
   	}
  -	sub("^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?", "");
  +	sub("^[ \t]*(AP[UR]?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?", "");
   	sub("[(].*", "");
   	line = line $0 "\n"
   	next
  
  
  

Mime
View raw message