+2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * tradcpp.c (main): Make sure finclude() is called with a valid
+ indepth value while handling -include.
+
2001-01-03 Alexandre Oliva <aoliva@redhat.com>
* gencodes.c (output_predicate_decls): New function.
/* C Compatible Compiler Preprocessor (CCCP)
-Copyright (C) 1986, 1987, 1989, 2000 Free Software Foundation, Inc.
+Copyright (C) 1986, 1987, 1989, 2000, 2001 Free Software Foundation, Inc.
Written by Paul Rubin, June 1986
Adapted to ANSI C, Richard Stallman, Jan 1987
Dusted off, polished, and adapted for use as traditional
so that only their macro definitions matter. */
no_output++;
+ indepth++;
for (i = 1; i < argc; i++)
if (pend[i].type == PD_FILE)
{
}
finclude (fd, pend[i].arg, &outbuf);
}
+ indepth--;
no_output--;
/* Pending directives no longer needed. */