Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.97
 
1.98
 
MAIN:plunky:20121031121343
 
token.c
     
 !
_> 1292+#define NPPD    (int)(sizeof(ppd) / sizeof(ppd[0]))
     
 !
<>1321 -#define SZ (int)(sizeof(ppd)/sizeof(ppd[0]))
 1322 -        for (i = 0; i < SZ; i++)
 1323 -                if (bp[0] == ppd[i].name[0] && strcmp(bp, ppd[i].name) == 0)
 1324 -                        break;
 1325 -        if (i == SZ)
 1326 -                goto out;
  1322+        for (i = 0; i < NPPD; i++) {
  1323+                if (bp[0] == ppd[i].name[0] && strcmp(bp, ppd[i].name) == 0) {
  1324+                        (*ppd[i].fun)();
  1325+                        return;
  1326+                }
  1327+        }
     
 !
<_1328 -        /* Found matching keyword */
 1329 -        (*ppd[i].fun)();
 1330 -        return;
 1331 -
 1332 -out:    while ((ch = inch()) != '\n' && ch != -1)
 1333 -                ;
 1334 -        unch('\n');
  1329+out:    error("invalid preprocessor directive");
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-30 14:03 +0100