lex

I’m trying to compile some stuff that is using lex(I’ve never used lex
before).

When lex runs it says:

lex: REJECT cannot be used with -f or -F.

Running lex with -v reports:

scanner options: -v -CFe -S/usr/lib/lex/skeleton

I have no idea where the -CFe -S/usr/lib/skeleton comes from. I would
like to try to get rid of -F. Strangely the “C F S” options aren’t
documented in the online doc.

Any pointers?

  • Mario

Mario Charest wrote:

I’m trying to compile some stuff that is using lex(I’ve never used lex
before).

When lex runs it says:

lex: REJECT cannot be used with -f or -F.

Running lex with -v reports:

scanner options: -v -CFe -S/usr/lib/lex/skeleton

I have no idea where the -CFe -S/usr/lib/skeleton comes from. I would
like to try to get rid of -F. Strangely the “C F S” options aren’t
documented in the online doc.

Any pointers?

… use flex :slight_smile:

Armin

  • Mario

“Armin Steinhoff” <a-steinhoff@web.de> wrote in message
news:coheer$p8b$3@inn.qnx.com

Mario Charest wrote:


I’m trying to compile some stuff that is using lex(I’ve never used lex
before).

When lex runs it says:

lex: REJECT cannot be used with -f or -F.

Running lex with -v reports:

scanner options: -v -CFe -S/usr/lib/lex/skeleton

I have no idea where the -CFe -S/usr/lib/skeleton comes from. I would
like to try to get rid of -F. Strangely the “C F S” options aren’t
documented in the online doc.

Any pointers?

… use flex > :slight_smile:

Thanks. I finaly was able to build cscope under QNX4.

Armin

\

  • Mario