[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional compiling of flex file
From: |
Hans Aberg |
Subject: |
Re: Conditional compiling of flex file |
Date: |
Mon, 26 May 2003 09:29:35 +0200 |
At 14:51 -0700 2003/05/25, Cory Benjamin wrote:
>I have a flex file which I am planning on using with two programs I am
>writing. One of the programs needs to be able to recognize all of the
>tokens declared, however the other only needs to recognize a subset (about
>50%) of the tokens.
...
>My thought is to create a mini-preprocessor of my own to process the file
>before I even send it to flex, but I thought I would check to see if anyone
>else has had to deal with this before, and what solution they came up with?
Have you thought of trying a program like GNU M4 or Perl as preprocessor?
Hans Aberg