[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

yacc/lex name conflicts

From: Christian Csar
Subject: yacc/lex name conflicts
Date: Fri, 11 Jul 2008 13:29:52 -0400
User-agent: Thunderbird (X11/20080505)

Is there anyway to control the behavior of ylwrap? The project I am
converting has its parsers use files like foo.l and foo.y for the lex
and yacc files as they go together, and automake then converts both of
these to foo.c, overwriting the first seemingly silently. Admittedly I
solved this by changing foo.l to foo-lex.l, but it seems rather
inelegant. If there is a to notice the existence of foo.l and foo.y in
the same directory, it might be worth printing out a message as it is
not an immediately obvious problem (except for refusing to build).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]