I tried it and it seems to work but bison doesn't generate me a new .c file. When i add the -S option and i start bison, all the contents of my skeleton is printed in the DOS prompt. is that because it does not work or it's normal?

Why do I dont have a new .c file.
Here is the command I ran: bison -d -l -S yyparse.c -o tcyacc.c TL1.y

Thank


From: Bob Rossi <[EMAIL PROTECTED]>
To: DaveMord <[EMAIL PROTECTED]>
CC: Help-bison@gnu.org
Subject: Re: Parser file
Date: Mon, 11 Dec 2006 11:32:32 -0500

On Mon, Dec 11, 2006 at 08:29:46AM -0800, DaveMord wrote:
>
> Hi
> we implemented our yyparse in yyparse.c file. I want to know how to indicate > to Bison to take this file as template. I tried : bison -d -l -o tcyacc.c
> TL1.yyparse.c
>
> My yac file is named: TL1.y and i saw somwhere to replace .y by the parser
> file name (yyparse.c in my case) But this doesn't work (no such file or
> directory named TL1.yyparse.c )

Hi,

I have push.c in the share/bison directory. If I do
'bison -S push.c', then it uses the push.c skeleton.

Bob Rossi

_________________________________________________________________
Ne perdez pas de temps dans les files d’attente… magasinez en ligne. http://magasiner.sympatico.msn.ca



_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to