summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/lex.xml
blob: fb90280896a534f35a9a604fae700502daeac87c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!--
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation

This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<tool name="lex">
<summary>
Sets construction variables for the &lex; lexical analyser.
</summary>
<sets>
LEX
LEXFLAGS
LEXCOM
</sets>
<uses>
LEXCOMSTR
</uses>
</tool>

<cvar name="LEX">
<summary>
The lexical analyzer generator.
</summary>
</cvar>

<cvar name="LEXCOM">
<summary>
The command line used to call the lexical analyzer generator
to generate a source file.
</summary>
</cvar>

<cvar name="LEXCOMSTR">
<summary>
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.

<example>
env = Environment(LEXCOMSTR = "Lex'ing $TARGET from $SOURCES")
</example>
</summary>
</cvar>

<cvar name="LEXFLAGS">
<summary>
General options passed to the lexical analyzer generator.
</summary>
</cvar>