2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>

* p-lang.h (is_pascal_string_type): Declaration changed,
	new sixth argument of type char ** added.
	* p-lang.c (is_pascal_string_type): Implementation
	changed. Args length_pos, length_size, string_pos, char_size
	can now be NULL. New argument arrayname set to the field
	name of the char array. Return value set to char array
	field index plus one.
	* p-valprint.c (pascal_val_print): Adapt to new declaration of
	is_pascal_string_type function.
This commit is contained in:
Pierre Muller
2002-05-02 11:18:07 +00:00
parent 805fc79928
commit e2625b330b
4 changed files with 41 additions and 15 deletions

View File

@ -38,7 +38,8 @@ extern void pascal_type_print_method_args (char *, char *,
/* These are in p-lang.c: */
extern int is_pascal_string_type (struct type *, int *, int *, int *, int*);
extern int
is_pascal_string_type (struct type *, int *, int *, int *, int *, char **);
extern void pascal_printchar (int, struct ui_file *);