Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.28
 
1.29
 
MAIN:ragge:20050515210634
 
cpp.c
_>278278         while ((c = yylex()) != 0) {
 279279                 switch (c) {
 280280                 case CONTROL:
<>281 -                        slow = 1;
282281                         control();
<>283 -                        slow = 0;
284282                         break;
 285283 
 286284                 case IDENT:
     
 !
290288 if(dflag)printf("IDENT0: %s\n", yystr);
 291289                         nl = lookup(yystr, FIND);
 292290 if(dflag)printf("IDENT: %s\n", yystr);
<>293 -                        slow = 1;
294291                         if (nl == 0 || thisnl == 0)
 295292                                 goto found;
 296293                         if (thisnl == nl) {
     
 !
327324                                 thisnl = nl;
 328325                         }
 329326                         stringbuf = osp; /* clean up heap */
<>330 -                        slow = 0;
331327                         break;
 332328 
 333329                 case EXPAND:
 334330 if(dflag)printf("EXPAND!\n");
 335331                         thisnl = NULL;
 336332                         break;
 337333 
<>338 -                case CHARCON:
 339 -                case STRING:
340334                 case NL:
<>341 -                        error("bad dir %d", c);
  335+                        if (flslvl == 0) {
  336+                                if (curline() == 1)
  337+                                        prtline();
  338+                                else
  339+                                        putch('\n');
  340+                        }
342341                         break;
 343342 
<> 343+                case CHARCON:
  344+                case STRING:
344345                 case NUMBER:
 345346                 case FPOINT:
 346347                 case WSPACE:
<> 348+                case ELLIPS:
347349                         if (flslvl == 0)
 348350                                 fputs(yystr, obuf);
 349351                         break;
     
 !
10671069                         if (c == ')')
 10681070                                 plev--;
 10691071                         savstr(yystr);
<>1070 -                        while ((c = yylex()) == NL)
 1071 -                                c = yylex(), savch('\n');
  1072+                        while ((c = yylex()) == NL) {
  1073+                                putch('\n');
  1074+                                savch(' ');
  1075+                        }
<_10721076                 }
 10731077                 while (args[i] < stringbuf &&
 10741078                     (stringbuf[-1] == ' ' || stringbuf[-1] == '\t'))
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:21 +0200