This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Indented #line directives
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Indented #line directives
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 19 May 2000 11:09:01 -0700
- Cc: Zack Weinberg <weinberg at cygnus dot com>
- Organization: CodeSourcery, LLC
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