* p-typeprint.c (pascal_type_print_method_args): Fix problem in

display of type of method arguments.
This commit is contained in:
Pierre Muller 2010-10-15 23:08:04 +00:00
parent ab27a17180
commit 3a9d7214ad
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-10-16 Pierre Muller <muller@ics.u-strasbg.fr>
* p-typeprint.c (pascal_type_print_method_args): Fix problem in
display of type of method arguments.
2010-10-15 Tom Tromey <tromey@redhat.com>
PR python/11948:

View File

@ -165,14 +165,15 @@ pascal_type_print_method_args (char *physname, char *methodname,
if (physname && (*physname != 0))
{
int i = 0;
int len = 0;
char storec;
char *argname;
fputs_filtered (" (", stream);
/* we must demangle this */
while (isdigit (physname[0]))
{
int len = 0;
int i;
char storec;
char *argname;
while (isdigit (physname[len]))
{
len++;