From 8ce17b9a340c36520715e311f0f3738b9c093fa3 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 10 Jul 2000 05:09:51 +0000 Subject: [PATCH] From Pierre Muller : * p-typeprint.c (pascal_type_print_method_args): Add braces around isdigit after while keyword. --- gdb/ChangeLog | 6 ++++++ gdb/p-typeprint.c | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eb9d7494b80..b4d4a45c052 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon Jul 10 15:02:35 2000 Andrew Cagney + + From 2000-07-05 Pierre Muller : + * p-typeprint.c (pascal_type_print_method_args): Add braces around + isdigit after while keyword. + 2000-07-06 Elena Zannoni * TODO: Remove readline 4.1 import item. 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++; } -- 2.30.2