This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: preprocessing java source
- To: <tromey at redhat dot com>, "Artur Biesiadowski" <abies at pg dot gda dot pl>
- Subject: Re: preprocessing java source
- From: "Anthony Green" <green at redhat dot com>
- Date: Mon, 25 Jun 2001 18:02:51 -0700
- Cc: "Java Discuss List" <java at gcc dot gnu dot org>, <classpath at gnu dot org>
- References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com> <3B351E05.5915565B@pg.gda.pl> <87wv61ohxy.fsf@creche.redhat.com>
Tom wrote:
> I think ideally the preprocessor would simply comment out lines
> instead of removing them. That way the line numbers match with the
> original source.
It seems to be a very simple matter to post-process the preprocessor output
containing #line directives into a properly spaced file. Does the Classpath
build process allow for building and running a tiny C program to do this?
AG