Commit b78f9414 by Neil Booth

* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.

From-SVN: r65954
parent df1b07f3
2003-04-22 Neil Booth <neil@daikokuya.co.uk>
* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
2003-04-22 Devang Patel <dpatel@apple.com>
* cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
* cpptrad.c (_cpp_replacement_text_len): Add check for macro
parameter count.
(_cpp_copy_replacement_text): Same.
2003-04-22 Neil Booth <neil@daikokuya.co.uk>
......
......@@ -714,15 +714,15 @@ _cpp_get_fresh_line (pfile)
"no newline at end of file");
}
if (!buffer->prev)
return false;
if (buffer->return_at_eof)
{
buffer->return_at_eof = false;
_cpp_pop_buffer (pfile);
return false;
}
if (!buffer->prev)
return false;
_cpp_pop_buffer (pfile);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment