Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 // Inferno utils/6l/span.c | 1 // Inferno utils/6l/span.c |
2 // http://code.google.com/p/inferno-os/source/browse/utils/6l/span.c | 2 // http://code.google.com/p/inferno-os/source/browse/utils/6l/span.c |
3 // | 3 // |
4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. | 4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. |
5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) | 5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) |
6 // Portions Copyright © 1997-1999 Vita Nuova Limited | 6 // Portions Copyright © 1997-1999 Vita Nuova Limited |
7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov a.com) | 7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov a.com) |
8 // Portions Copyright © 2004,2006 Bruce Ellis | 8 // Portions Copyright © 2004,2006 Bruce Ellis |
9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) | 9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) |
10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others | 10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
377 // within a type they sort by size, so the .* symbols | 377 // within a type they sort by size, so the .* symbols |
378 // just defined above will be first. | 378 // just defined above will be first. |
379 // hide the specific symbols. | 379 // hide the specific symbols. |
380 for(s = allsym; s != S; s = s->allsym) { | 380 for(s = allsym; s != S; s = s->allsym) { |
381 if(!s->reachable || s->special || s->type != SRODATA) | 381 if(!s->reachable || s->special || s->type != SRODATA) |
382 continue; | 382 continue; |
383 if(strncmp(s->name, "type.", 5) == 0) { | 383 if(strncmp(s->name, "type.", 5) == 0) { |
384 s->type = STYPE; | 384 s->type = STYPE; |
385 s->hide = 1; | 385 s->hide = 1; |
386 } | 386 } |
387 » » if(strncmp(s->name, "typelink.", 9) == 0) { | 387 » » if(strncmp(s->name, "go.typelink.", 12) == 0) { |
388 s->type = STYPELINK; | 388 s->type = STYPELINK; |
389 » » //» s->hide = 1; | 389 » » » s->hide = 1; |
iant
2012/11/07 23:36:53
Why is s->hide = 1 commented out?
rsc
2012/11/13 18:06:28
Probably a debugging dreg; fixed.
| |
390 } | 390 } |
391 if(strncmp(s->name, "go.string.", 10) == 0) { | 391 if(strncmp(s->name, "go.string.", 10) == 0) { |
392 s->type = SGOSTRING; | 392 s->type = SGOSTRING; |
393 s->hide = 1; | 393 s->hide = 1; |
394 } | 394 } |
395 } | 395 } |
396 | 396 |
397 if(debug['s']) | 397 if(debug['s']) |
398 return; | 398 return; |
399 genasmsym(putsymb); | 399 genasmsym(putsymb); |
400 } | 400 } |
LEFT | RIGHT |