bjh         00/12/20 06:28:46

  Modified:    helpers  make_export.awk
  Log:
  When building exports list, allow for multi-part and negative conditions
  in #if tests.
  
  Revision  Changes    Path
  1.3       +2 -2      apr/helpers/make_export.awk
  
  Index: make_export.awk
  ===================================================================
  RCS file: /home/cvs/apr/helpers/make_export.awk,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- make_export.awk   2000/12/19 17:05:28     1.2
  +++ make_export.awk   2000/12/20 14:28:45     1.3
  @@ -1,6 +1,6 @@
   # Based on Ryan Bloom's make_export.pl
   
  -/^#[ \t]*if(def)? (APR?_|defined).*/ {
  +/^#[ \t]*if(def)? (APR?_|!?defined).*/ {
        if (old_filename != FILENAME) {
                if (old_filename != "") printf("%s", line)
                macro_no = 0
  @@ -10,7 +10,7 @@
                line = ""
        }
        macro_stack[macro_no++] = macro
  -     macro = $2
  +     macro = substr($0, length($1)+2)
        found++
        count++
        line = line macro "\n"
  
  
  

Reply via email to