diff options
Diffstat (limited to 'common/exstatus.awk')
-rw-r--r-- | common/exstatus.awk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/exstatus.awk b/common/exstatus.awk index ea48e8156..fb1381947 100644 --- a/common/exstatus.awk +++ b/common/exstatus.awk @@ -26,7 +26,7 @@ topheader == 0 && /^\/\*/ { topheader = 1 } topheader == 1 { print $0 } topheader == 1 && /\*\// { topheader = 2; print "" } -/^[ \t]+STATUS_[A-Za-z_]+/ { +/^[ \t]+STATUS_[A-Za-z_]+/ { sub (/[,\/\*]+/, "", $1); desc = substr($1,8); printf "%d\t%s\t%s\n", code, $1, desc; @@ -37,4 +37,3 @@ topheader == 1 && /\*\// { topheader = 2; print "" } END { print "# end of status codes." } - |