Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.30
 
1.31
 
MAIN:ragge:20060715150203
 
cpp.c
_>346346                 case FPOINT:
 347347                 case WSPACE:
 348348                 case ELLIPS:
<> 349+                case CONCAT:
  350+                case MKSTR:
349351                         if (flslvl == 0)
 350352                                 fputs(yystr, obuf);
 351353                         break;
     
 !
625627                 narg = 0;
 626628                 /* function-like macros, deal with identifiers */
 627629                 while ((c = yylex()) != ')') {
<>628 -                        if (c == WSPACE) c = yylex();
  630+                        while (c == WSPACE)
  631+                                c = yylex();
629632                         if (c == ',') c = yylex();
<>630 -                        if (c == WSPACE) c = yylex();
  633+                        while (c == WSPACE)
  634+                                c = yylex();
631635                         if (c == ')')
 632636                                 break;
 633637                         if (c != IDENT)
<>634 -                                error("define error");
  638+                                error("define error, c %d", c);
635639                         args[narg] = alloca(strlen(yystr)+1);
 636640                         strcpy(args[narg], yystr);
 637641                         narg++;
     
 !
642646         } else if (c != WSPACE)
 643647                 error("bad define");
 644648 
<>645 -        if ((c = yylex()) == WSPACE)
  649+        c = yylex();
  650+        while (c == WSPACE)
<_646651                 c = yylex();
 647652 
 648653         /* parse replacement-list, substituting arguments */
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-22 05:59 +0100