Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.13
 
1.14
 
MAIN:ragge:20090309202039
 
token.c
_>100100 
 101101 zagain:
 102102         yyp = 0;
<>103 -again:
104103         yytext[yyp++] = ch = inch();
 105104         owasnl = wasnl;
 106105         wasnl = 0;
 107106         switch (ch) {
<> 107+        case -1:
  108+                return 0;
108109         case '\n':
 109110                 os = YYSTATE;
 110111 
     
 !
185186                         }
 186187                         break;
 187188                 }
<> 189+                unput(ch);
188190                 yytext[yyp] = 0;
 189191 
 190192                 if (mixed == 0) {
     
 !
254256                 } else {
 255257                         extern int inmac;
 256258 
<>257 -                        while ((ch = input()) == ' ' || ch == '\t')
  259+contr:                  while ((ch = input()) == ' ' || ch == '\t')
258260                                 ;
 259261                         unch(ch);
 260262                         if (inmac)
     
 !
321323                 goto any;
 322324 
 323325         case '#':
<>324 -                if (state != DEF)
  326+                if (state != DEF) {
  327+                        if (owasnl)
  328+                                goto contr;
325329                         goto any;
<> 330+                }
326331                 if ((ch = input()) == '#') {
 327332                         yytext[yyp++] = ch;
 328333                         ch = CONCAT;
     
 !
406411                 /* Special hacks */
 407412                 for (;;) { /* get chars */
 408413                         ch = input();
<>409 -                        if (isalpha(ch) || isdigit(ch) || ch == '_')
  414+                        if (isalpha(ch) || isdigit(ch) || ch == '_') {
410415                                 yytext[yyp++] = ch;
<>411 -                        else
  416+                        } else {
  417+                                unput(ch);
412418                                 break;
<> 419+                        }
413420                 }
 414421                 yytext[yyp] = 0; /* need already string */
 415422 
     
 !
511518                 } else
 512519                         putstr((usch *)yytext);
 513520                 xx:
<>514 -                goto again;
  521+                goto zagain;
515522         }
 516523 
 517524         default:
     
 !
546553                 break;
 547554 
 548555         } /* endcase */
<>549 -        goto again;
  556+        goto zagain;
<_550557 
 551558 yyret:
 552559         yytext[yyp] = 0;
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-22 14:14 +0200