Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.60
 
1.61
 
MAIN:ragge:20110706160123
 
token.c
_>997997         while ((t = sloscan()) == WSPACE)
 998998                 ;
 999999         if (t != '\n') {
<>1000 -                if (ignore) {
 1001 -                        warning("newline expected, got \"%s\"", yytext);
 1002 -                        /* ignore rest of line */
 1003 -                        while ((t = sloscan()) && t != '\n')
 1004 -                                ;
  1000+                if (t && t != (usch)-1) {
  1001+                        if (ignore) {
  1002+                                warning("newline expected, got \"%s\"", yytext);
  1003+                                /* ignore rest of line */
  1004+                                while ((t = sloscan()) && t != '\n')
  1005+                                        ;
  1006+                        }
  1007+                        else
  1008+                                error("newline expected, got \"%s\"", yytext);
  1009+                } else {
  1010+                        if (ignore)
  1011+                                warning("no newline at end of file");
  1012+                        else
  1013+                                error("no newline at end of file");
10051014                 }
<>1006 -                else
 1007 -                        error("newline expected, got \"%s\"", yytext);
<_10081015         }
 10091016 }
 10101017 
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-19 09:48 +0200