Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(314)

Delta Between Two Patch Sets: src/cmd/gc/export.c

Issue 5316043: code review 5316043: gc: clean up printing. (Closed)
Left Patch Set: diff -r b3069ca75051 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Right Patch Set: diff -r 01516e31b4f0 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/gc/esc.c ('k') | src/cmd/gc/fmt.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include <u.h> 5 #include <u.h>
6 #include <libc.h> 6 #include <libc.h>
7 #include "go.h" 7 #include "go.h"
8 #include "y.tab.h" 8 #include "y.tab.h"
9 9
10 static void dumpsym(Sym*); 10 static void dumpsym(Sym*);
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 print("import var %S %lT\n", s, t); 347 print("import var %S %lT\n", s, t);
348 } 348 }
349 349
350 void 350 void
351 importtype(Type *pt, Type *t) 351 importtype(Type *pt, Type *t)
352 { 352 {
353 if(pt != T && t != T) 353 if(pt != T && t != T)
354 typedcl2(pt, t); 354 typedcl2(pt, t);
355 355
356 if(debug['E']) 356 if(debug['E'])
357 » » print("import type %T %T\n", pt, t); 357 » » print("import type %T %lT\n", pt, t);
358 } 358 }
359 359
360 void 360 void
361 importmethod(Sym *s, Type *t) 361 importmethod(Sym *s, Type *t)
362 { 362 {
363 checkwidth(t); 363 checkwidth(t);
364 addmethod(s, t, 0); 364 addmethod(s, t, 0);
365 } 365 }
366 366
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b