Indented #line directives
Mark Mitchell
mark@codesourcery.com
Fri May 19 11:00:00 GMT 2000
Zack --
The preprocessor is emitting `#' directives in non-zero columns.
For example, this came out of a preprocessed source file:
# 1 "/home/mitchell/dev/egcs-2/new-abi-objdir/gcc/include/limits.h" 1 3
Note that the `#' is not in the leftmost column.
Perhaps this is because that file contains:
#ifdef _GCC_NEXT_LIMITS_H
#include_next <limits.h> /* recurse down to the real one */
#endif
That's bogus, and I'll fix it. Isn't the preprocessor supposed to
reject `#' directives that don't occur in the leftmost column?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-bugs
mailing list