Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.112
 
1.113
 
MAIN:plunky:20140528085242
 
token.c
_>3131  *              characters that may require actions.
 3232  *      - sloscan() tokenize the input stream and returns tokens.
 3333  *              It may recurse into itself during expansion.
<>34 - *      - yylex() returns something from the input stream that
  34+ *      - yylex() returns something from the input stream that
3535  *              is suitable for yacc.
 3636  *
 3737  *      Other functions of common use:
     
 !
172172 {
 173173         if (c == -1)
 174174                 return;
<>175 -                
  175+
176176         ifiles->curptr--;
 177177         if (ifiles->curptr < ifiles->bbuf)
 178178                 error("pushback buffer full");
     
 !
538538 
 539539 zagain:
 540540         yyp = 0;
<>541 -        ch = inch();
  541+        ch = inch();
542542         yytext[yyp++] = (usch)ch;
 543543         switch (ch) {
 544544         case -1: /* EOF */
     
 !
552552         case '\r': /* Ignore CR */
 553553                 goto zagain;
 554554 
<>555 -        case '0': case '1': case '2': case '3': case '4': case '5':
  555+        case '0': case '1': case '2': case '3': case '4': case '5':
556556         case '6': case '7': case '8': case '9':
 557557                 /* reading a "pp-number" */
 558558 ppnum:          for (;;) {
     
 !
571571                         if ((spechr[ch] & C_ID) || ch == '.') {
 572572                                 yytext[yyp++] = (usch)ch;
 573573                                 continue;
<>574 -                        }
  574+                        }
575575                         break;
 576576                 }
 577577                 unch(ch);
 578578                 yytext[yyp] = 0;
 579579                 return NUMBER;
 580580 
 581581         case '\'':
<>582 -chlit:          
  582+chlit:
583583                 for (;;) {
 584584                         if ((ch = inch()) == '\\') {
 585585                                 yytext[yyp++] = (usch)ch;
     
 !
628628                         wrn = 0;
 629629                 more:   while ((c = inch()) != '*') {
 630630                                 if (c == -1)
<>631 -                                        return 0;       
  631+                                        return 0;
632632                                 if (c == '\n')
 633633                                         putch(c), ifiles->lineno++;
 634634                                 else if (c == EBLOCK) {
     
 !
696696                 /* FALLTHROUGH */
 697697 
 698698         /* Yetch, all identifiers */
<>699 -        case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
 700 -        case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
 701 -        case 'm': case 'n': case 'o': case 'p': case 'q': case 'r':
 702 -        case 's': case 't': case 'u': case 'v': case 'w': case 'x':
  699+        case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
  700+        case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
  701+        case 'm': case 'n': case 'o': case 'p': case 'q': case 'r':
  702+        case 's': case 't': case 'u': case 'v': case 'w': case 'x':
703703         case 'y': case 'z':
<>704 -        case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
  704+        case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
705705         case 'G': case 'H': case 'I': case 'J': case 'K':
<>706 -        case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R':
 707 -        case 'S': case 'T': case 'U': case 'V': case 'W': case 'X':
  706+        case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R':
  707+        case 'S': case 'T': case 'U': case 'V': case 'W': case 'X':
708708         case 'Y': case 'Z':
 709709         case '_': /* {L}({L}|{D})* */
 710710 
     
 !
11191119 }
 11201120 
 11211121 static void
<>1122 -ifdefstmt(void)         
 1123 -{
  1122+ifdefstmt(void)
  1123+{
11241124         int t;
 11251125 
 11261126         if (flslvl) {
     
 !
11411141 }
 11421142 
 11431143 static void
<>1144 -ifndefstmt(void)         
 1145 -{
  1144+ifndefstmt(void)
  1145+{
11461146         int t;
 11471147 
 11481148         if (flslvl) {
     
 !
11631163 }
 11641164 
 11651165 static void
<>1166 -endifstmt(void)         
  1166+endifstmt(void)
<_11671167 {
 11681168         if (flslvl)
 11691169                 flslvl--;
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-31 16:06 +0100