Make problem

0 views
Skip to first unread message

Alexis Vanacker

unread,
Mar 6, 2010, 12:32:46 PM3/6/10
to proglang-course-2010
Hello,

We are having problems when trying to "make" our grammar (with
java1.5). After running bnfc -m java1.5 CPP.cf, we run make, but the
Yylex.java file is empty! So the Test.java (or the lab4.java) file
cannot use it. Is there a way to fix this? What are the probable
causes?

Alexis

Raphaël Vandon

unread,
Mar 6, 2010, 12:40:10 PM3/6/10
to proglang-c...@googlegroups.com
There is a workaround which is to remove all the files previously created. Or maybe just remove the old Yylex.java file. And maybe make vclean does it.

2010/3/6 Alexis Vanacker <alexva...@gmail.com>

Alexis Vanacker

unread,
Mar 6, 2010, 12:43:54 PM3/6/10
to proglang-course-2010
We had tried this actually and it doesn't work... Thanks anyway.

On 6 mar, 18:40, Raphaël Vandon <vand...@gmail.com> wrote:
> There is a workaround which is to remove all the files previously created.
> Or maybe just remove the old Yylex.java file. And maybe make vclean does it.
>

> 2010/3/6 Alexis Vanacker <alexvanac...@gmail.com>

Adam Luotonen

unread,
Mar 6, 2010, 1:59:23 PM3/6/10
to proglang-course-2010
I think I had the same problem. Try removing any "" (empty tokens) in
the grammar...
Reply all
Reply to author
Forward
0 new messages