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:20020505174551
 
reader.c
_>2727 OFFSZ baseoff = 0;
 2828 OFFSZ maxtemp = 0;
 2929 
<>30 -int
 31 -p2init(int argc, char *argv[])
 32 -{
 33 -        /* set the values of the pass 2 arguments */
 34 -
 35 -        int c;
 36 -        char *cp;
 37 -        int files;
 38 -
 39 -        allo0();  /* free all regs */
 40 -        files = 0;
 41 -
 42 -        for( c=1; c<argc; ++c ){
 43 -                if( *(cp=argv[c]) == '-' ){
 44 -                        while( *++cp ){
 45 -                                switch( *cp ){
 46 -
 47 -                                case 'X'/* pass1 flags */
 48 -                                        while( *++cp ) { /* VOID */ }
 49 -                                        --cp;
 50 -                                        break;
 51 -
 52 -                                case 'l'/* linenos */
 53 -                                        ++lflag;
 54 -                                        break;
 55 -
 56 -                                case 'e'/* expressions */
 57 -                                        ++edebug;
 58 -                                        break;
 59 -
 60 -                                case 'o'/* orders */
 61 -                                        ++odebug;
 62 -                                        break;
 63 -
 64 -                                case 'r'/* register allocation */
 65 -                                        ++rdebug;
 66 -                                        break;
 67 -
 68 -                                case 'a'/* rallo */
 69 -                                        ++radebug;
 70 -                                        break;
 71 -
 72 -                                case 'v':
 73 -                                        ++vdebug;
 74 -                                        break;
 75 -
 76 -                                case 't'/* ttype calls */
 77 -                                        ++tdebug;
 78 -                                        break;
 79 -
 80 -                                case 's'/* shapes */
 81 -                                        ++sdebug;
 82 -                                        break;
 83 -
 84 -                                case 'u'/* Sethi-Ullman testing (machine dependent) */
 85 -                                        ++udebug;
 86 -                                        break;
 87 -
 88 -                                case 'x'/* general machine-dependent debugging flag */
 89 -                                        ++xdebug;
 90 -                                        break;
 91 -
 92 -                                case 'w':
 93 -                                case 'W'/* shut up warnings */
 94 -
 95 -                                        ++Wflag;
 96 -                                        break;
 97 -
 98 -#ifdef FORT
 99 -                                case 'O'/* optimizing */
 100 -                                        ++Oflag;
 101 -                                        break;
 102 -#endif
 103 -
 104 -                                default:
 105 -                                        cerror( "bad option: %c", *cp );
 106 -                                        }
 107 -                                }
 108 -                        }
 109 -                else files = 1/* assumed to be a filename */
 110 -                }
 111 -
 112 -        mkdope();
 113 -        setrew();
 114 -        return( files );
 115 -
 116 -}
 117 -
<_11830 void
 11931 p2compile(NODE *p)
 12032 {
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-20 01:58 +0200