For arrays, make a gh_list out of it and add this list to the returned
1998-12-09 Martin Baulig <martin@home-of-linux.org> * guile.awk: For arrays, make a gh_list out of it and add this list to the returned list instead of adding all array fields there.
This commit is contained in:
committed by
Martin Baulig
parent
2f20f2b7ff
commit
ee9812e9af
@@ -1,3 +1,8 @@
|
||||
1998-12-09 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* guile.awk: For arrays, make a gh_list out of it and add this list
|
||||
to the returned list instead of adding all array fields there.
|
||||
|
||||
1998-12-08 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* guile.awk (glibtop-get-sysdeps): New guile function.
|
||||
|
@@ -105,9 +105,11 @@ function make_output(line) {
|
||||
fields[field] = field_parts[1];
|
||||
sub(/\]/, "", field_parts[2]);
|
||||
number = field_parts[2];
|
||||
output = output"gh_list\n\t\t\t(";
|
||||
for (nr = 0; nr < number; nr++) {
|
||||
output = output""convert[type]" ("feature"."fields[field]" ["nr"]),\n\t\t\t";
|
||||
output = output""convert[type]" ("feature"."fields[field]" ["nr"]),\n\t\t\t ";
|
||||
}
|
||||
output = output"SCM_UNDEFINED),\n\t\t\t";
|
||||
} else {
|
||||
output = output""convert[type]" ("feature"."fields[field]"),\n\t\t\t";
|
||||
}
|
||||
|
Reference in New Issue
Block a user