2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
+ * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
+
+2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
+
* configure.in: Add check for lstat.
* configure, config.in: Regenerate.
* cppinit.c (append_include_chain): Make empty path ".".
pfile->lexer_pos.output_line = 1;
}
- new->nominal_fname = filename;
+ if (*filename == '\0')
+ new->nominal_fname = _("<stdin>");
+ else
+ new->nominal_fname = filename;
new->type = type;
new->prev = pfile->buffer;
new->pfile = pfile;