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

Delta Between Two Patch Sets: src/cmd/6c/peep.c

Issue 7461046: code review 7461046: all: fix typos (Closed)
Left Patch Set: Created 12 years, 1 month ago
Right Patch Set: diff -r 3378d2483995 https://code.google.com/p/go/ Created 11 years, 9 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:
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/5l/pass.c ('k') | src/cmd/6c/txt.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
(no file at all)
1 // Inferno utils/6c/peep.c 1 // Inferno utils/6c/peep.c
2 // http://code.google.com/p/inferno-os/source/browse/utils/6c/peep.c 2 // http://code.google.com/p/inferno-os/source/browse/utils/6c/peep.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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 p = r->prog; 476 p = r->prog;
477 if(debug['P']) 477 if(debug['P'])
478 print("%P", p); 478 print("%P", p);
479 if(!f && uniqp(r) == R) { 479 if(!f && uniqp(r) == R) {
480 f = 1; 480 f = 1;
481 if(debug['P']) 481 if(debug['P'])
482 print("; merge; f=%d", f); 482 print("; merge; f=%d", f);
483 } 483 }
484 t = copyu(p, v2, A); 484 t = copyu(p, v2, A);
485 switch(t) { 485 switch(t) {
486 » » case 2:»/* rar, cant split */ 486 » » case 2:»/* rar, can't split */
487 if(debug['P']) 487 if(debug['P'])
488 print("; %D rar; return 0\n", v2); 488 print("; %D rar; return 0\n", v2);
489 return 0; 489 return 0;
490 490
491 case 3: /* set */ 491 case 3: /* set */
492 if(debug['P']) 492 if(debug['P'])
493 print("; %D set; return 1\n", v2); 493 print("; %D set; return 1\n", v2);
494 return 1; 494 return 1;
495 495
496 case 1: /* used, substitute */ 496 case 1: /* used, substitute */
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 } 893 }
894 if(a->index == t) { 894 if(a->index == t) {
895 if(f) 895 if(f)
896 a->index = s->type; 896 a->index = s->type;
897 return 0; 897 return 0;
898 } 898 }
899 return 0; 899 return 0;
900 } 900 }
901 return 0; 901 return 0;
902 } 902 }
LEFTRIGHT

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