Bug fix. Some awk interpreters seem to have problems with `\w+'.

This commit is contained in:
Martin Baulig
1998-09-08 21:06:43 +00:00
parent 2bf9475dda
commit 2f140e2168
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ function output(line) {
list = params[param];
type = params[param];
sub(/\(.*/, "", type);
sub(/^\w+\(/, "", list); sub(/\)$/, "", list);
sub(/^.*\(/, "", list); sub(/\)$/, "", list);
count = split (list, fields, /,/);
for (field = 1; field <= count; field++) {
if (param_decl == "")