Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.39
 
1.40
 
MAIN:ragge:20110129145308
 
local.c
_>520520                 }
 521521 
 522522                 if (DEUNSIGN(p->n_type) == INT && DEUNSIGN(l->n_type) == INT &&
<>523 -                    coptype(l->n_op) == BITYPE) {
  523+                    coptype(l->n_op) == BITYPE && l->n_op != COMOP) {
524524                         l->n_type = p->n_type;
 525525                         nfree(p);
 526526                         return l;
     
 !
902902 
 903903         t = p->n_type;
 904904 
<>905 -        if (kflag && p->n_op == NAME && ISPTR(t) && ISFTN(DECREF(t))) {
  905+        if (kflag && p->n_op == NAME && ISPTR(t) &&
  906+            (ISFTN(DECREF(t)) || ISSOU(BTYPE(t)))) {
906907                 /* functions as initializers will be NAME here */
 907908                 if (op == NIL) {
 908909                         st = *p;
     
 !
914915         if (t > BTMASK)
 915916                 t = LONG; /* pointer */
 916917 
<>917 -        if (p->n_op != ICON && p->n_op != FCON)
  918+        if (p->n_op == COMOP) {
  919+                NODE *r = p->n_right;
  920+                tfree(p->n_left);
  921+                nfree(p);
  922+                p = r;
  923+        }
  924+
  925+        if (p->n_op != ICON && p->n_op != FCON) {
  926+fwalk(p, eprint, 0);
918927                 cerror("ninval: init node not constant");
<> 928+        }
<_919929 
 920930         if (p->n_op == ICON && p->n_sp != NULL && DEUNSIGN(t) != LONG)
 921931                 uerror("element not constant");
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-09-03 04:07 +0200