[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: minor annoyance
Note taken. ;-)
I'll see what I can do in the next release.
Etienne
-----Original Message-----
From: Archie Cobbs <archie@whistle.com>
To: sablecc-list@sable.mcgill.ca <sablecc-list@sable.mcgill.ca>
Date: Tuesday, July 28, 1998 5:56 PM
Subject: minor annoyance
>When you run sablecc, it seems to have it's own ideas about where
>the generated files go.
>
>For example, suppose your grammar contians "Package foo.bar;".
>
>Example 1:
>
> $ cd /foo/bar
> $ java SableCC grammar
>
> Generated files go into foo/bar/foo/bar/*
>
>Example 2:
>
> $ cd /
> $ java SableCC /foo/bar/grammar
>
> Generated files go into foo/bar/foo/bar/*
>
>I want to keep the grammar file in the same directory as the
>java files (ie, /foo/bar). But there seems to be no way to do
>this and have the generated files go into /foo/bar/*.
>
>Ie, it would be nice if in Example 2 they went into /foo/bar/*,
>or else SableCC took a command line argument "-d /some/directory".
>
>Thanks,
>-Archie
>
>___________________________________________________________________________
>Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com