Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.23
 
1.24
 
MAIN:ragge:20041230103629
 
local.c
_>5252         register int m, ml;
 5353         TWORD t;
 5454 
<> 55+//printf("in:\n");
  56+//fwalk(p, eprint, 0);
5557         switch( o = p->n_op ){
 5658 
 5759         case NAME:
     
 !
7476                                 break;
 7577                         p->n_lval = 0;
 7678                         p->n_sp = q;
<>77 -                        if ((q->sflags & SLABEL) == 0)
 78 -                                cerror("STATIC");
7979                         break;
 8080 
 8181                 case REGISTER:
     
 !
109109                                 break;
 110110                         if (l->n_right->n_op == ICON) {
 111111                                 r = l->n_left->n_left;
<> 112+                                if (r->n_type >= FLOAT && r->n_type <= LDOUBLE)
  113+                                        break;
112114                                 /* Type must be correct */
 113115                                 t = r->n_type;
 114116                                 nfree(l->n_left);
     
 !
245247                 return(buildtree(o==PMCONV?MUL:DIV, p->n_left, p->n_right));
 246248 
 247249         }
<> 250+//printf("ut:\n");
  251+//fwalk(p, eprint, 0);
248252 
 249253         return(p);
 250254 }
     
 !
349353 void
 350354 ninval(NODE *p)
 351355 {
<> 356+        struct symtab *q;
352357         TWORD t;
 353358 
 354359         p = p->n_left;
     
 !
365370         case INT:
 366371         case UNSIGNED:
 367372                 printf("\t.long 0x%x", (int)p->n_lval);
<>368 -                if (p->n_sp != NULL) {
 369 -                        if (p->n_sp->sflags & SLABEL ||
 370 -                            p->n_sp->sclass == ILABEL) {
 371 -                                printf("+" LABFMT, p->n_sp->soffset);
  373+                if ((q = p->n_sp) != NULL) {
  374+                        if ((q->sclass == STATIC && q->slevel > 0) ||
  375+                            q->sclass == ILABEL) {
  376+                                printf("+" LABFMT, q->soffset);
372377                         } else
<>373 -                                printf("+%s", exname(p->n_sp->sname));
  378+                                printf("+%s", exname(q->sname));
374379                 }
 375380                 printf("\n");
 376381                 break;
     
 !
496501                 return;
 497502         lastloc = locc;
 498503         printf("        .%s\n", loctbl[locc]);
<> 504+        send_passt(IP_LOCCTR, locc);
<_499505 }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 13:12 +0100