Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.58
 
1.59
 
MAIN:ragge:20070917174925
 
cpp.c
_>175175         struct incs *w, *w2;
 176176         struct symtab *nl;
 177177         register int ch;
<>178 -//      usch *osp;
179178 
 180179         while ((ch = getopt(argc, argv, "CD:I:MS:U:di:t")) != -1)
 181180                 switch (ch) {
     
 !
193192                         it->str = optarg;
 194193                         it->next = initar;
 195194                         initar = it;
<>196 -#if 0
 197 -                        osp = (usch *)optarg;
 198 -                        while (*osp && *osp != '=')
 199 -                                osp++;
 200 -                        if (*osp == '=') {
 201 -                                *osp++ = 0;
 202 -                                while (*osp)
 203 -                                        osp++;
 204 -                                *osp = OBJCT;
 205 -                        } else {
 206 -                                static usch c[3] = { 0, '1', OBJCT };
 207 -                                osp = &c[2];
 208 -                        }
 209 -                        nl = lookup((usch *)optarg, ENTER);
 210 -                        if (nl->value) {
 211 -                                /* check for redefinition */
 212 -                                usch *o = nl->value, *n = osp;
 213 -                                while (*o && *o == *n)
 214 -                                        o--, n--;
 215 -                                if (*o || *o != *n)
 216 -                                        error("%s redefined", optarg);
 217 -                        }
 218 -                        nl->value = osp;
 219 -#endif
220195                         break;
 221196 
 222197                 case 'M': /* Generate dependencies for make */
     
 !
237212                                 incdir[ch == 'I' ? INCINC : SYSINC] = w;
 238213                         break;
 239214 
<>240 -#if 0
 241 -                case 'U':
 242 -                        if ((nl = lookup((usch *)optarg, FIND)))
 243 -                                nl->value = NULL;
 244 -                        break;
 245 -#endif
246215 #ifdef CPP_DEBUG
 247216                 case 'd':
 248217                         dflag++;
     
 !
252221                         tflag = 1;
 253222                         break;
 254223 
<>255 -#if 0
 256 -                case 'i':
 257 -                        if (ifile)
 258 -                                error("max 1 -i entry");
 259 -                        ifile = optarg;
 260 -                        break;
 261 -#endif
 262 -
<_263224                 case '?':
 264225                         usage();
 265226                 default:
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 12:17 +0200