Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.5
 
1.6
 
MAIN:ragge:20090524192052
 
local.c
_>813813         struct symtab *q;
 814814         char *c;
 815815         TWORD t;
<>816 -        int i;
817816 
 818817         t = p->n_type;
 819818         if (t > BTMASK)
     
 !
841840                 uerror("element not constant");
 842841 
 843842         switch (t) {
<>844 -        case LONGLONG:
 845 -        case ULONGLONG:
 846 -                i = (p->n_lval >> 32);
 847 -                p->n_lval &= 0xffffffff;
 848 -                p->n_type = INT;
 849 -                ninval(off, 32, p);
 850 -                p->n_lval = i;
 851 -                ninval(off+32, 32, p);
 852 -                break;
 853 -        case INT:
 854 -        case UNSIGNED:
 855 -                printf("\t.long 0x%x", (int)p->n_lval);
  843+        case LONG:
  844+        case ULONG:
  845+                printf("\t.long 0x%llx", p->n_lval);
856846                 if ((q = p->n_sp) != NULL) {
 857847                         if ((q->sclass == STATIC && q->slevel > 0)) {
 858848                                 printf("+" LABFMT, q->soffset);
 859849                         } else {
<>860 -                                printf("+%s", exname(q->soname));
  850+                                char *name;
  851+                                if ((name = q->soname) == NULL)
  852+                                        name = exname(q->sname);
  853+                                printf("+%s", name);
861854                         }
 862855                 }
 863856                 printf("\n");
 864857                 break;
<> 858+        case INT:
  859+        case UNSIGNED:
  860+                printf("\t.long 0x%x\n", (int)p->n_lval & 0xffffffff);
  861+                break;
<_865862         case SHORT:
 866863         case USHORT:
 867864                 printf("\t.short 0x%x\n", (int)p->n_lval & 0xffff);
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-02 08:31 +0200