Mail Archives: djgpp/1996/04/25/02:15:01
In article <199604221605 DOT JAA01502 AT nic DOT cerf DOT net>, ACTA Inc <actainc AT CERF DOT NET> wrote:
> For my particular case, my YACC file name is grammar.y, and the
>bison in DJGPP 2.0 produce a file called "grammar_.c" if I just type "bison
>-y -d grammar.y ". There is no any error message.
>
> Yet if I directly use makefile, I noticed that bison generates a
>y_tab.c and y_tab.h, and the make process determined with
>an error of " ***[grammar.y] error -1" at line "mv -f y_tab.c grammar.c"
>
> What I have done wrong ?
I'm not sure what is going wrong, but I have similar problems and I avoid them
altogether by using the -o option to specify exactly the output file I want.
- Raw text -