%scons; %builders-mod; %functions-mod; %tools-mod; %variables-mod; ]> Sets construction variables for the &lex; lexical analyser. LEX LEXFLAGS LEXCOM LEXUNISTD LEXCOMSTR LEXFLAGS LEX_HEADER_FILE LEX_TABLES_FILE The lexical analyzer generator. The command line used to call the lexical analyzer generator to generate a source file. The string displayed when generating a source file using the lexical analyzer generator. If this is not set, then &cv-link-LEXCOM; (the command line) is displayed. env = Environment(LEXCOMSTR="Lex'ing $TARGET from $SOURCES") General options passed to the lexical analyzer generator. In addition to passing the value on during invocation, the &t-link-lex; tool also examines this &consvar; for options which cause additional output files to be generated, and adds those to the target list. Recognized for this purpose are GNU &flex; options and ; the output file is named by the option argument. Note that files specified by and may not be properly handled by &SCons; in all situations. Consider using &cv-link-LEX_HEADER_FILE; and &cv-link-LEX_TABLES_FILE; instead. If supplied, generate a C header file with the name taken from this variable. Will be emitted as a command-line option. Use this in preference to including in &cv-link-LEXFLAGS; directly. If supplied, write the lex tables to a file with the name taken from this variable. Will be emitted as a command-line option. Use this in preference to including in &cv-link-LEXFLAGS; directly. Used only on windows environments to set a lex flag to prevent 'unistd.h' from being included. The default value is '--nounistd'.