This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Indented #line directives



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]