Bring CVS back in sync.
[scons.git] / src / engine / SCons / Tool / yacc.xml
1 <!--
2 __COPYRIGHT__
3
4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
6 -->
7 <tool name="yacc">
8 <summary>
9 XXX
10 </summary>
11 </tool>
12
13 <cvar name="YACC">
14 <summary>
15 The parser generator.
16 </summary>
17 </cvar>
18
19 <cvar name="YACCCOM">
20 <summary>
21 The command line used to call the parser generator
22 to generate a source file.
23 </summary>
24 </cvar>
25
26 <cvar name="YACCCOMSTR">
27 <summary>
28 The string displayed when generating a source file
29 using the parser generator.
30 If this is not set, then &cv-YACCCOM; (the command line) is displayed.
31
32 <example>
33 env = Environment(YACCCOMSTR = "Yacc'ing $TARGET from $SOURCES")
34 </example>
35 </summary>
36 </cvar>
37
38 <cvar name="YACCFLAGS">
39 <summary>
40 General options passed to the parser generator.
41 If &cv-YACCFLAGS; contains a <option>-d</option> option,
42 SCons assumes that the call will also create a .h file
43 (if the yacc source file ends in a .y suffix)
44 or a .hpp file
45 (if the yacc source file ends in a .yy suffix)
46 </summary>
47 </cvar>
48
49 <cvar name="YACCHFILESUFFIX">
50 <summary>
51 The suffix of the C
52 header file generated by the parser generator
53 when the
54 <option>-d</option>
55 option is used.
56 Note that setting this variable does not cause
57 the parser generator to generate a header
58 file with the specified suffix,
59 it exists to allow you to specify
60 what suffix the parser generator will use of its own accord.
61 The default value is
62 <filename>.h</filename>.
63 </summary>
64 </cvar>
65
66 <cvar name="YACCHXXFILESUFFIX">
67 <summary>
68 The suffix of the C++
69 header file generated by the parser generator
70 when the
71 <option>-d</option>
72 option is used.
73 Note that setting this variable does not cause
74 the parser generator to generate a header
75 file with the specified suffix,
76 it exists to allow you to specify
77 what suffix the parser generator will use of its own accord.
78 The default value is
79 <filename>.hpp</filename>.
80 </summary>
81 </cvar>