mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:00:27 +08:00
godump.c (go_format_type): Use exported Go name for anonymous field name.
* godump.c (go_format_type): Use exported Go name for anonymous field name. From-SVN: r172847
This commit is contained in:
parent
26409c5246
commit
7378e95ff1
@ -1,3 +1,8 @@
|
||||
2011-04-21 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* godump.c (go_format_type): Use exported Go name for anonymous
|
||||
field name.
|
||||
|
||||
2011-04-21 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* config/frv/frv.c (frv_init_builtins): Delete `endlink' variable.
|
||||
@ -34,7 +39,7 @@
|
||||
2011-04-21 Dimitrios Apostolou <jimis@gmx.net>
|
||||
Jeff Law <law@redhat.com>
|
||||
|
||||
* gengtype-state.c (read_a_state_token): Fix argument to
|
||||
* gengtype-state.c (read_a_state_token): Fix argument to
|
||||
obstack_free.
|
||||
* gengtype.c (matching_file_name_substitute): Likewise.
|
||||
|
||||
|
@ -675,7 +675,7 @@ go_format_type (struct godump_container *container, tree type,
|
||||
{
|
||||
char buf[100];
|
||||
|
||||
obstack_grow (ob, "_f", 2);
|
||||
obstack_grow (ob, "Godump_", 2);
|
||||
snprintf (buf, sizeof buf, "%d", i);
|
||||
obstack_grow (ob, buf, strlen (buf));
|
||||
i++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user