diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-07-10 05:09:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-07-10 05:09:51 +0000 |
commit | 19669fda87f6cf316c9cd717317325cc530ccb3e (patch) | |
tree | 4fe38edf8302ee565272d45952c59ba7b4cd3e2a /gdb/p-typeprint.c | |
parent | a60d48abe63511f0ef51f5e04bf946888a3b61d7 (diff) | |
download | gdb-19669fda87f6cf316c9cd717317325cc530ccb3e.tar.gz |
From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index a2cfadb4d40..d8ea0d4b68c 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -170,11 +170,9 @@ pascal_type_print_method_args (physname, methodname, stream) char *argname; fputs_filtered (" (", stream); /* we must demangle this */ - while isdigit - (physname[0]) + while (isdigit (physname[0])) { - while isdigit - (physname[len]) + while (isdigit (physname[len])) { len++; } |