Deleted Added
full compact
lex.c (258826) lex.c (259555)
1/* CPP Library - lexical analysis.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3 Contributed by Per Bothner, 1994-95.
4 Based on CCCP program by Paul Rubin, June 1986
5 Adapted to ANSI C, Richard Stallman, Jan 1987
6 Broken out to separate file, Zack Weinberg, Mar 2000
7
8This program is free software; you can redistribute it and/or modify it

--- 840 unchanged lines hidden (view full) ---

849
850 /* End of buffer. Non-empty files should end in a newline. */
851 if (buffer->buf != buffer->rlimit
852 && buffer->next_line > buffer->rlimit
853 && !buffer->from_stage3)
854 {
855 /* Clip to buffer size. */
856 buffer->next_line = buffer->rlimit;
1/* CPP Library - lexical analysis.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3 Contributed by Per Bothner, 1994-95.
4 Based on CCCP program by Paul Rubin, June 1986
5 Adapted to ANSI C, Richard Stallman, Jan 1987
6 Broken out to separate file, Zack Weinberg, Mar 2000
7
8This program is free software; you can redistribute it and/or modify it

--- 840 unchanged lines hidden (view full) ---

849
850 /* End of buffer. Non-empty files should end in a newline. */
851 if (buffer->buf != buffer->rlimit
852 && buffer->next_line > buffer->rlimit
853 && !buffer->from_stage3)
854 {
855 /* Clip to buffer size. */
856 buffer->next_line = buffer->rlimit;
857 /* APPLE LOCAL begin suppress no newline warning. */
858 if ( CPP_OPTION (pfile, warn_newline_at_eof))
859 {
860 cpp_error_with_line (pfile, CPP_DL_PEDWARN, pfile->line_table->highest_line,
861 CPP_BUF_COLUMN (buffer, buffer->cur),
862 "no newline at end of file");
863 }
864 /* APPLE LOCAL end suppress no newline warning. */
857 }
858
859 return_at_eof = buffer->return_at_eof;
860 _cpp_pop_buffer (pfile);
861 if (pfile->buffer == NULL || return_at_eof)
862 return false;
863 }
864}

--- 857 unchanged lines hidden ---
865 }
866
867 return_at_eof = buffer->return_at_eof;
868 _cpp_pop_buffer (pfile);
869 if (pfile->buffer == NULL || return_at_eof)
870 return false;
871 }
872}

--- 857 unchanged lines hidden ---