rbb         00/11/30 22:32:00

  Modified:    helpers  make_export.pl
  Log:
  Fix a small bug in the export code.  This allows us to nest multiple
  macros.  There is a small bug in this code, because we report the wrong
  macro in the end tag.  For example:
  
  APR_HAS_XLATE
        apr_xlate_conv_buffer
  APR_NOT_DONE_YET
                apr_xlate_conv_char
  /APR_NOT_DONE_YET
  /APR_NOT_DONE_YET
  
  This is minorly annoying, but not horrible.  We generally use the amount
  of indentation and the number of macros found to match things up.
  Hopefully we can fix this later.
  
  Revision  Changes    Path
  1.3       +1 -1      apr/helpers/make_export.pl
  
  Index: make_export.pl
  ===================================================================
  RCS file: /home/cvs/apr/helpers/make_export.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- make_export.pl    2000/12/01 05:50:22     1.2
  +++ make_export.pl    2000/12/01 06:32:00     1.3
  @@ -35,7 +35,7 @@
               $count++;
               $found++;
               $macro = $2;
  -            $line = "$macro\n";
  +            $line .= "$macro\n";
               next;
           }
           elsif (/^(APR_DECLARE[^\(]*\()?[a-z_]+\)?\s+([A-Za-z0-9_]+)\(/) {
  
  
  

Reply via email to