Commit 27f3162f by Richard Kenner

(cpp_push_buffer): Include filename in error message.

From-SVN: r9901
parent 87907387
...@@ -1897,7 +1897,7 @@ cpp_push_buffer (pfile, buffer, length) ...@@ -1897,7 +1897,7 @@ cpp_push_buffer (pfile, buffer, length)
#ifdef STATIC_BUFFERS #ifdef STATIC_BUFFERS
register cpp_buffer *buf = CPP_BUFFER (pfile); register cpp_buffer *buf = CPP_BUFFER (pfile);
if (buf == pfile->buffer_stack) if (buf == pfile->buffer_stack)
fatal ("macro or `#include' recursion too deep"); fatal ("%s: macro or `#include' recursion too deep", buf->fname);
buf--; buf--;
bzero ((char *) buf, sizeof (cpp_buffer)); bzero ((char *) buf, sizeof (cpp_buffer));
CPP_BUFFER (pfile) = buf; CPP_BUFFER (pfile) = buf;
......
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