The same as happens at the moment - nothing...
The grammer for the ecpg needs to be re-generated when the grammer in the main
parser is changed - whether its a manual or (mostly) automatic task is
largely irrelevant.
The only downside is that if its not regenerated then the change to gram.y
simply wont be reflected in the grammer for ecpg.
I personally think its down to the ecpg developers (of which I believe Michael
is the main developer) to decide when to do this and to check that its
worked.
Its just otherwise - there could be a serious case for 'unintended
consequences'...
Just my 2 pence worth...
On Friday 13 June 2008 15:39:48 Alvaro Herrera wrote:
> > I personally would stongly favour
> > the script being a tool for ecpg tool developers and not used as part of
> > a normal installation.
>
> What happens when a non-Michael developer changes the original gram.y?
> Is he expected to run the script before committing too? That sounds
> brittle to me.
>
--
Mike Aubury
http://www.aubit.com/
Aubit Computing Ltd is registered in England and Wales, Number: 3112827
Registered Address : Clayton House,59 Piccadilly,Manchester,M1 2AQ