Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.159
 
1.160
 
MAIN:plunky:20121002091313
 
cpp.c
_>389389         if (c != STRING)
 390390                 goto bad;
 391391 
<>392 -        p = (usch *)yytext;
  392+        p = yytext;
393393         if (*p++ == 'L')
 394394                 p++;
 395395         c = strlen((char *)p);
     
 !
464464                 ;
 465465         if (c == IDENT) {
 466466                 /* sloscan() will not expand idents */
<>467 -                if ((nl = lookup((usch *)yytext, FIND)) == NULL)
  467+                if ((nl = lookup(yytext, FIND)) == NULL)
468468                         goto bad;
 469469                 if (kfind(nl))
 470470                         unpstr(stringbuf);
     
 !
481481                 while ((c = sloscan()) != '>' && c != '\n') {
 482482                         if (c == '\n') /* XXX check - cannot reach */
 483483                                 goto bad;
<>484 -                        savstr((usch *)yytext);
  484+                        savstr(yytext);
485485                 }
 486486                 savch('\0');
 487487                 while ((c = sloscan()) == WSPACE)
     
 !
545545                 ;
 546546         if (c == IDENT) {
 547547                 /* sloscan() will not expand idents */
<>548 -                if ((nl = lookup((usch *)yytext, FIND)) == NULL)
  548+                if ((nl = lookup(yytext, FIND)) == NULL)
549549                         goto bad;
 550550                 if (kfind(nl))
 551551                         unpstr(stringbuf);
     
 !
565565                 while ((c = sloscan()) != '>') {
 566566                         if (c == '\n')
 567567                                 goto bad;
<>568 -                        savstr((usch *)yytext);
  568+                        savstr(yytext);
569569                 }
 570570                 savch('\0');
 571571         }
     
 !
599599 {
 600600         int c;
 601601 
<>602 -        savstr((usch *)yytext);
  602+        savstr(yytext);
603603         savch(cinput()); /* Lost * */
 604604         for (;;) {
 605605                 c = cinput();
     
 !
682682         if (isdigit((int)yytext[0]))
 683683                 goto bad;
 684684 
<>685 -        np = lookup((usch *)yytext, ENTER);
  685+        np = lookup(yytext, ENTER);
686686         redef = np->value != NULL;
 687687 
 688688         defining = readmac = 1;
     
 !
761761                 case WSPACE:
 762762                         /* remove spaces if it surrounds a ## directive */
 763763                         ubuf = stringbuf;
<>764 -                        savstr((usch *)yytext);
  764+                        savstr(yytext);
765765                         c = sloscan();
 766766                         if (c == '#') {
 767767                                 if ((c = sloscan()) != '#')
     
 !
859859                         prem();
 860860 
 861861                 default:
<>862 -id:                     savstr((usch *)yytext);
  862+id:                     savstr(yytext);
863863                         break;
 864864                 }
 865865                 c = sloscan();
     
 !
10611061         if (t != STRING)
 10621062                 error("pragma must have string argument");
 10631063         savstr((const usch *)"\n#pragma ");
<>1064 -        s = (usch *)yytext;
  1064+        s = yytext;
10651065         if (*s == 'L')
 10661066                 s++;
 10671067         for (; *s; s++) {
     
 !
12101210 
 12111211                         case STRING:
 12121212                                 /* Remove embedded directives */
<>1213 -                                for (cbp = (usch *)yytext; *cbp; cbp++) {
  1213+                                for (cbp = yytext; *cbp; cbp++) {
12141214                                         if (*cbp == EBLOCK)
 12151215                                                 cbp+=2;
 12161216                                         else if (*cbp != CONC)
     
 !
12311231                                  * BUT: if this macro is blocked then this
 12321232                                  * should not be done.
 12331233                                  */
<>1234 -                                nl = lookup((usch *)yytext, FIND);
  1234+                                nl = lookup(yytext, FIND);
12351235                                 o = okexp(nl);
 12361236                                 bidx = 0;
 12371237                                 /* Deal with pragmas here */
     
 !
14931493                                 plev++;
 14941494                         if (c == ')')
 14951495                                 plev--;
<>1496 -                        savstr((usch *)yytext);
  1496+                        savstr(yytext);
14971497 oho:                    while ((c = sloscan()) == '\n') {
 14981498                                 ifiles->lineno++;
 14991499                                 putch(cinput());
     
 !
15401540                         if (c == EBLOCK) {
 15411541                                 sss();
 15421542                         } else
<>1543 -                                savstr((usch *)yytext);
  1543+                                savstr(yytext);
15441544                         while ((c = sloscan()) == '\n') {
 15451545                                 ifiles->lineno++;
 15461546                                 cinput();
     
 !
17951795                         break;
 17961796 
 17971797                 default:
<>1798 -                        savstr((usch *)yytext);
  1798+                        savstr(yytext);
<_17991799                         break;
 18001800                 }
 18011801         }
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-02 04:28 +0200