Re: Line number pragma

Sampsa Laine <>
13 Aug 1998 22:12:25 -0400

          From comp.compilers

Related articles
Line number pragma (Johan Ovlinger) (1998-08-10)
Re: Line number pragma (Sampsa Laine) (1998-08-13)
| List of all articles for this month |

From: Sampsa Laine <>
Date: 13 Aug 1998 22:12:25 -0400
Organization: Nokia Group
References: 98-08-072
Keywords: C, Java, comment

Johan Ovlinger wrote:

> What I would love to have is a line number pragma a-la c so I could
> have javac insert debugging info that refers to the input files from
> which the java code was generated.

Why don't you just run your Java sources through the C preprocessor and
use __LINE__ where you need it?
[Not a bad idea. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.