discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: ^L in source (was Re: wrong line endings in a gnustep file)


From: Peter Cooper
Subject: Re: OT: ^L in source (was Re: wrong line endings in a gnustep file)
Date: Sat, 23 Aug 2003 19:44:22 +0200
User-agent: Mutt/1.4i

On Sat, Aug 23, 2003 at 11:52:40AM -0400, Andrew Pinski wrote:
> >Only somewhat relatedly, I've been wondering about some source code 
> >I've seen
> >that has ^L (i.e. ctrl-L, ASCII 12) in it. I've seen it in some of the
> >GNUstep sources but also some other projects' code. What does it do in 
> >a C
> >source file? Does the compiler (or preprocessor) just ignore it?
> 
> ^L is the marker for a new page so this is white space and is ignored 
> correctly by GCC.

But things like escape (^[) don't get ignored. I've noticed my bad 
habit from vi causes "invisible escapes" to be embedded within files
I'm editing in ProjectCenter. And consequent compile-phase failures.

I haven't checked a recent version of CodeEditor. Is its behaviour
better (if only showing "box" glyphs or something)?

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]