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 eb9d7494b8061107e7a95379410fd18d1a15f557..b4d4a45c0521cd57748f09f089f87d4bb012801d 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 a2cfadb4d40ed1e1f26e2dea7d6b005bcd76b22c..d8ea0d4b68c7bd10dccedd93d5705d4d9d36a6a2 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++;
            }