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

Re: line numbers in code



On Sat, 26 May 2001, Neil Booth wrote:
> Romain Lerallut wrote:-
>
> > You can run *any* text through cpp (not just C program sources, I use it
> > for my Fortran codes:)
>
> That's not true, certainly in GCC 3.0.
>
> Neil.
>
hmmmm:

echo '__LINE__' | cpp-3.0  -P
1

looks like you can ( with my Fortran codes too!)
:-)

Romain


PS: anyway, after re-reading the original request, I realize my answer
wasn't probably what was expected...



Reply to: