Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.41
 
1.42
 
MAIN:ragge:20061222062309
 
cpp.c
_>195195                                 osp = &c[2];
 196196                         }
 197197                         nl = lookup((usch *)optarg, ENTER);
<>198 -                        if (nl->value)
 199 -                                error("%s redefined", optarg);
  198+                        if (nl->value) {
  199+                                /* check for redefinition */
  200+                                usch *o = nl->value, *n = osp;
  201+                                while (*o && *o == *n)
  202+                                        o--, n--;
  203+                                if (*o || *o != *n)
  204+                                        error("%s redefined", optarg);
  205+                        }
<_200206                         nl->value = osp;
 201207                         break;
 202208 
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-11-01 12:15 +0100