[Top][All Lists]

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

Re: automake & flex's -P option

From: Akim Demaille
Subject: Re: automake & flex's -P option
Date: Thu, 13 Mar 2003 10:07:49 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

| Hello.


| I recently converted one of my projects to autoconf 2.57 & automake
| 1.7.3. I'm not bothered about portability to systems other than
| DJGPP or Linux. In particular I've been using switches that are
| particular to flex and bison: those to set the prefix of the lexer
| and parser's function and varibable names. This works fine with
| bison. But not with flex, because it modifies the output file name
| from lexyy.c to lexfoo.c. ($LEX_OUTPUT_ROOT == lexyy for DJGPP.)

Nope, use %option outfile in addition to %option prefix.

reply via email to

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