Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.72
 
1.73
 
MAIN:plunky:20121002091313
 
token.c
_>395395                         unch(ch);
 396396 
 397397                         cp = stringbuf;
<>398 -                        if ((nl = lookup((usch *)yytext, FIND)) && kfind(nl)) {
  398+                        if ((nl = lookup(yytext, FIND)) && kfind(nl)) {
399399                                 putstr(stringbuf);
 400400                         } else
<>401 -                                putstr((usch *)yytext);
  401+                                putstr(yytext);
402402                         stringbuf = cp;
 403403 
 404404                         break;
     
 !
661661         case NUMBER:
 662662                 if (yytext[0] == '\'') {
 663663                         yylval.node.op = NUMBER;
<>664 -                        yylval.node.nd_val = charcon((usch *)yytext);
  664+                        yylval.node.nd_val = charcon(yytext);
665665                 } else
 666666                         cvtdig(yytext[0] != '0' ? 10 :
 667667                             yytext[1] == 'x' || yytext[1] == 'X' ? 16 : 8);
     
 !
672672                         ifdef = 1;
 673673                         return DEFINED;
 674674                 }
<>675 -                nl = lookup((usch *)yytext, FIND);
  675+                nl = lookup(yytext, FIND);
676676                 if (ifdef) {
 677677                         yylval.node.nd_val = nl != NULL;
 678678                         ifdef = 0;
     
 !
10721072         while (t == WSPACE);
 10731073         if (t != IDENT)
 10741074                 error("bad ifdef");
<>1075 -        if (lookup((usch *)yytext, FIND) == 0) {
  1075+        if (lookup(yytext, FIND) == 0) {
10761076                 putch('\n');
 10771077                 flslvl++;
 10781078         } else
     
 !
10941094         while (t == WSPACE);
 10951095         if (t != IDENT)
 10961096                 error("bad ifndef");
<>1097 -        if (lookup((usch *)yytext, FIND) != 0) {
  1097+        if (lookup(yytext, FIND) != 0) {
10981098                 putch('\n');
 10991099                 flslvl++;
 11001100         } else
     
 !
12261226                 return;
 12271227         if (sloscan() != WSPACE || sloscan() != IDENT)
 12281228                 error("bad undef");
<>1229 -        if (flslvl == 0 && (np = lookup((usch *)yytext, FIND)))
  1229+        if (flslvl == 0 && (np = lookup(yytext, FIND)))
<_12301230                 np->value = 0;
 12311231         chknl(0);
 12321232 }
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 20:01 +0200