OSDN Git Service

From Pierre Muller <muller@ics.u-strasbg.fr>:
authorAndrew Cagney <cagney@redhat.com>
Mon, 10 Jul 2000 05:09:51 +0000 (05:09 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 10 Jul 2000 05:09:51 +0000 (05:09 +0000)
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.

gdb/ChangeLog
gdb/p-typeprint.c

index eb9d749..b4d4a45 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jul 10 15:02:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-07-05 Pierre Muller <muller@ics.u-strasbg.fr>:
+       * p-typeprint.c (pascal_type_print_method_args): Add braces around
+       isdigit after while keyword.
+
 2000-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
 
         * TODO: Remove readline 4.1 import item.
index a2cfadb..d8ea0d4 100644 (file)
@@ -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++;
            }