automake
[Top][All Lists]
Advanced

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

C++, lex and automake


From: Юрий Пухальский
Subject: C++, lex and automake
Date: Tue, 13 Jan 2009 14:08:46 +0300

Good day!

I've a lex file with %option c++.
Being processed by lex it produces by default a file named lex.yy.cc,
while automake expects it to be lex.yy.c when constructing a line with
ylwrap:
/bin/sh ./ylwrap engine_tcp_lex.ll lex.yy.c engine_tcp_lex.cc -- flex  -d
Setting LEX_OUTPUT_ROOT doesn't help, because it is being suffixed
with .c when constructing the ylwrap line.

Do I do something wrong?
For now the only thing i can invent is to set %option
outfile="lex.yy.c", which is... well, you understand.

Thank You in advance!

-- 
LITTLE GIRL: But which cookie will you eat FIRST?
C. MONSTER : Me think you have misconception of cookie-eating process.




reply via email to

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