Manual Pages for UNIX Darwin command on man lex
MyWebUniversity

Manual Pages for UNIX Darwin command on man lex

FLEX(1) User Commands FLEX(1)

NAME

flex - fast lexical analyzer generator

SYNOPSIS

fflleexx [OPTIONS] [FILE]...

DESCRIPTION

Generates programs that perform pattern-matching on text.

TTaabbllee CCoommpprreessssiioonn::

-CCaa, --aalliiggnn

trade off larger tables for better memory alignment

-CCee, --eeccss

construct equivalence classes

-CCff do not compress tables; use -ff representation

-CCFF do not compress tables; use -FF representation

-CCmm, --mmeettaa-eeccss

construct meta-equivalence classes

-CCrr, --rreeaadd

use read() instead of stdio for scanner input

-ff, --ffuullll

generate fast, large scanner. Same as -CCffrr

-FF, --ffaasstt

use alternate table representation. Same as -CCFFrr

-CCeemm default compression (same as --eeccss --mmeettaa-eeccss)

DDeebbuuggggiinngg::

-dd, --ddeebbuugg

enable debug mode in scanner

-bb, --bbaacckkuupp

write backing-up information to lex.backup

-pp, --ppeerrff-rreeppoorrtt

write performance report to stderr

-ss, --nnooddeeffaauulltt

suppress default rule to ECHO unmatched text

-TT, --ttrraaccee

flex should run in trace mode

-ww, --nnoowwaarrnn

do not generate warnings

-vv, --vveerrbboossee

write summary of scanner statistics to stdout FFiilleess::

-oo, --oouuttffiillee=FILE

specify output filename

-SS, --sskkeell=FILE

specify skeleton file

-tt, --ssttddoouutt

write scanner on stdout instead of lex.yy.c

--yyyyccllaassss=NAME

name of C++ class

--hheeaaddeerr-ffiillee=FILE

create a C header file in addition to the scanner

--ttaabblleess-ffiillee[=FILE] write tables to FILE

SSccaannnneerr bbeehhaavviioorr::

-77, --77bbiitt

generate 7-bit scanner

-88, --88bbiitt

generate 8-bit scanner

-BB, --bbaattcchh

generate batch scanner (opposite of -II)

-ii, --ccaassee-iinnsseennssiittiivvee

ignore case in patterns

-ll, --lleexx-ccoommppaatt

maximal compatibility with original lex

-XX, --ppoossiixx-ccoommppaatt

maximal compatibility with POSIX lex

-II, --iinntteerraaccttiivvee

generate interactive scanner (opposite of -BB)

--yyyylliinneennoo

track line count in yylineno GGeenneerraatteedd ccooddee::

-+, --cc++

generate C++ scanner class

-DDmmaaccrroo[=defn]

#define macro defn (default defn is '1')

-LL, --nnoolliinnee

suppress #line directives in scanner

-PP, --pprreeffiixx=STRING

use STRING as prefix instead of "yy"

-RR, --rreeeennttrraanntt

generate a reentrant C scanner

--bbiissoonn-bbrriiddggee

scanner for bison pure parser.

--bbiissoonn-llooccaattiioonnss

include yylloc support.

--ssttddiinniitt

initialize yyin/yyout to stdin/stdout

--nnooaannssii-ddeeffiinniittiioonnss old-style function definitions

--nnooaannssii-pprroottoottyyppeess

empty parameter list in prototypes

--nnoouunniissttdd

do not include

--nnooFFUUNNCCTTIIOONN

do not generate a particular FUNCTION MMiisscceellllaanneeoouuss::

-cc do-nothing POSIX option

-nn do-nothing POSIX option

-?

-hh, --hheellpp

produce this help message

-VV, --vveerrssiioonn

report flex version

SEE ALSO

The full documentation for fflleexx is maintained as a Texinfo manual. If the iinnffoo and fflleexx programs are properly installed at your site, the command iinnffoo fflleexx should give you access to the complete manual.

flex 2.5.33 February 2006 FLEX(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™