Message ID | mcrocezac1g.fsf@dhcp-172-17-9-151.mtv.corp.google.com |
---|---|
State | New |
Headers | show |
diff -r 35f170b775c0 go/gogo.cc --- a/go/gogo.cc Thu Jun 24 12:42:10 2010 -0700 +++ b/go/gogo.cc Thu Jun 24 22:55:28 2010 -0700 @@ -608,7 +608,7 @@ // Invent a name for a nested function. static int nested_count; char buf[30]; - snprintf(buf, sizeof buf, "__nested%d", nested_count); + snprintf(buf, sizeof buf, ".$nested%d", nested_count); ++nested_count; nested_name = buf; pname = &nested_name;