Version française
Home     About     Download     Resources     Contact us    
Browse thread
Support for #line?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: Support for #line?
> Is there support for #line type constructs to help in using
> preprocessors?

Yes.  The syntax is "# LINENO" or "# LINENO FILENAME".

We used to support "#line LINENO" as an alias for "# LINENO" until
Georges Gonthier pointed out a nasty ambiguity with the invocation of
a method called "line"...

- Xavier Leroy