Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.48
 
1.49
 
MAIN:ragge:20110226063207
 
token.c
_>180180  */
 181181 static void
 182182 fastscan(void)
 183183 {
 184184         struct symtab *nl;
 185185         int ch, i, ccnt, onemore;
<> 186+        usch *cp;
186187 
 187188         goto run;
 188189         for (;;) {
 189190                 ch = NXTCH();
 190191 xloop:          if (ch == -1)
 191192                         return;
     
 !
366367                                         return;
 367368                         } while (spechr[ch] & C_ID);
 368369 
 369370                         yytext[i] = 0;
 370371                         unch(ch);
 371372 
<> 373+                        cp = stringbuf;
372374                         if ((nl = lookup((usch *)yytext, FIND)) && kfind(nl)) {
 373375                                 putstr(stringbuf);
 374376                         } else
 375377                                 putstr((usch *)yytext);
<> 378+                        stringbuf = cp;
376379 
 377380                         break;
 378381                 }
 379382         }
 380383 }
 381384 
     
 !
789792                 if (++inclevel > MAX_INCLEVEL)
 790793                         error("Limit for nested includes exceeded");
 791794         } else {
 792795                 ic->infil = 0;
 793796                 ic->orgfn = ic->fname = (const usch *)"<stdin>";
 794797         }
<> 798+#ifndef BUF_STACK
  799+        ic->bbuf = malloc(BBUFSZ);
  800+#endif
795801         ic->buffer = ic->bbuf+NAMEMAX;
 796802         ic->curptr = ic->buffer;
 797803         ifiles = ic;
 798804         ic->lineno = 1;
 799805         ic->maxread = ic->curptr;
 800806         ic->idx = idx;
     
 !
818824 
 819825         fastscan();
 820826 
 821827         if (otrulvl != trulvl || flslvl)
 822828                 error("unterminated conditional");
 823829 
<> 830+#ifndef BUF_STACK
  831+        free(ic->bbuf);
  832+#endif
<_824833         ifiles = ic->next;
 825834         close(ic->infil);
 826835         inclevel--;
 827836         return 0;
 828837 }
 829838 
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-23 14:21 +0200