diff options
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/make_export.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/make_export.awk b/helpers/make_export.awk index 5cffd1979..e2ec040fc 100644 --- a/helpers/make_export.awk +++ b/helpers/make_export.awk @@ -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" |