Commit 7378e95f by Ian Lance Taylor

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
parent 26409c52
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> 2011-04-21 Nathan Froyd <froydnj@codesourcery.com>
* config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable.
......
...@@ -675,7 +675,7 @@ go_format_type (struct godump_container *container, tree type, ...@@ -675,7 +675,7 @@ go_format_type (struct godump_container *container, tree type,
{ {
char buf[100]; char buf[100];
obstack_grow (ob, "_f", 2); obstack_grow (ob, "Godump_", 2);
snprintf (buf, sizeof buf, "%d", i); snprintf (buf, sizeof buf, "%d", i);
obstack_grow (ob, buf, strlen (buf)); obstack_grow (ob, buf, strlen (buf));
i++; i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment