Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.51
 
1.52
 
MAIN:ragge:20110319091518
 
token.c
_>183183 {
 184184         struct symtab *nl;
 185185         int ch, i, ccnt, onemore;
<> 186+        int nnl = 0;
186187         usch *cp;
 187188 
 188189         goto run;
     
 !
236237                         goto xloop;
 237238 
 238239                 case '\n': /* newlines, for pp directives */
<> 240+                        while (nnl > 0) { PUTCH('\n'); nnl--; }
239241 run2:                   ifiles->lineno++;
 240242                         do {
 241243                                 PUTCH(ch);
     
 !
323325                         if (tflag)
 324326                                 continue; /* character constants ignored */
 325327                         while ((ch = NXTCH()) != '\'') {
<>326 -                                PUTCH(ch);
  328+                                if (ch == '\n')
  329+                                        goto xloop;
327330                                 if (ch == '\\') {
<>328 -                                        ch = NXTCH();
 329 -                                        PUTCH(ch);
 330 -                                } else if (ch < 0)
  331+                                        if ((ch = NXTCH()) != '\n') {
  332+                                                PUTCH('\\');
  333+                                                PUTCH(ch);
  334+                                        } else
  335+                                                nnl++;
  336+                                        continue;
  337+                                }
  338+                                if (ch < 0)
331339                                         return;
<>332 -                                else if (ch == '\n')
 333 -                                        goto xloop;
  340+                                PUTCH(ch);
<_334341                         }
 335342                         PUTCH(ch);
 336343                         break;
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-03 04:13 +0200