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:20030604200825
 
trees.c
_>394394                         p = stref(p);
 395395                         break;
 396396 
<>397 -#if 0
 398 -                        i = r->n_rval;
 399 -                        if( i<0 || ((sp= &stab[i])->sclass != MOS && sp->sclass != MOU && !(sp->sclass&FIELD)) ){
 400 -                                uerror( "member of structure or union required" );
 401 -                                }else
 402 -                        /* if this name is non-unique, find right one */
 403 -                        if( stab[i].sflags & SNONUNIQ &&
 404 -                                (l->n_type==PTR+STRTY || l->n_type == PTR+UNIONTY) &&
 405 -                                (l->n_csiz +1) >= 0 ){
 406 -                                /* nonunique name && structure defined */
 407 -                                char * memnam, * tabnam;
 408 -                                int j;
 409 -                                int memi;
 410 -                                j=dimtab[l->n_csiz+1];
 411 -                                for( ; (memi=dimtab[j]) >= 0; ++j ){
 412 -                                        tabnam = stab[memi].sname;
 413 -                                        memnam = stab[i].sname;
 414 -# ifndef BUG1
 415 -                                        if( ddebug>1 ){
 416 -                                                printf("member %s==%s?\n",
 417 -                                                        memnam, tabnam);
 418 -                                                }
 419 -# endif
 420 -                                        if( stab[memi].sflags & SNONUNIQ ){
 421 -                                                if (memnam != tabnam)
 422 -                                                        goto next;
 423 -                                                r->n_rval = i = memi;
 424 -                                                break;
 425 -                                                }
 426 -                                        next: continue;
 427 -                                        }
 428 -                                if( memi < 0 )
 429 -                                        uerror("illegal member use: %s",
 430 -                                                stab[i].sname);
 431 -                                }
 432 -                        else {
 433 -                                int j;
 434 -                                if( l->n_type != PTR+STRTY && l->n_type != PTR+UNIONTY ){
 435 -                                        if( stab[i].sflags & SNONUNIQ ){
 436 -                                                uerror( "nonunique name demands struct/union or struct/union pointer" );
 437 -                                                }
 438 -                                        else werror( "struct/union or struct/union pointer required" );
 439 -                                        }
 440 -                                else if( (j=l->n_csiz+1)<0 ) cerror( "undefined structure or union" );
 441 -                                else if( !chkstr( i, dimtab[j], DECREF(l->n_type) ) ){
 442 -                                        werror( "illegal member use: %s", stab[i].sname );
 443 -                                        }
 444 -                                }
 445 -
 446 -                        p = stref( p );
 447 -                        break;
 448 -
 449 -#endif
<_450397                 case UNARY MUL:
 451398                         if( l->n_op == UNARY AND ){
 452399                                 p->n_op = l->n_op = FREE;
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-01 00:00 +0200