Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.52
 
1.53
 
MAIN:ragge:20110319093132
 
token.c
_>279279 
 280280                 case '\"': /* strings */
 281281 str:                    PUTCH(ch);
<>282 -                        while ((ch = inch()) != '\"') {
 283 -                                        PUTCH(ch);
  282+                        while ((ch = NXTCH()) != '\"') {
  283+                                if (ch == '\n')
  284+                                        goto xloop;
284285                                 if (ch == '\\') {
<>285 -                                        ch = inch();
 286 -                                        PUTCH(ch);
 287 -                                }
  286+                                        if ((ch = NXTCH()) != '\n') {
  287+                                                PUTCH('\\');
  288+                                                PUTCH(ch);
  289+                                        } else
  290+                                                nnl++;
  291+                                        continue;
  292+                                }
288293                                 if (ch < 0)
 289294                                         return;
<> 295+                                PUTCH(ch);
<_290296                         }
 291297                         PUTCH(ch);
 292298                         break;
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 13:05 +0100