summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/yacc.xml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-04-10 03:15:02 (GMT)
committerSteven Knight <knight@baldmt.com>2005-04-10 03:15:02 (GMT)
commit829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da (patch)
treee6b270dac3f9ad01abb544204a5489ab1a46b091 /src/engine/SCons/Tool/yacc.xml
parent02f182567ed45a89f03ad02561b490eef8f0d1f1 (diff)
downloadSCons-829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da.zip
SCons-829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da.tar.gz
SCons-829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da.tar.bz2
Allow configurability of yacc-generated header files suffixes.
Diffstat (limited to 'src/engine/SCons/Tool/yacc.xml')
-rw-r--r--src/engine/SCons/Tool/yacc.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/yacc.xml b/src/engine/SCons/Tool/yacc.xml
index 59735af..97bdf9b 100644
--- a/src/engine/SCons/Tool/yacc.xml
+++ b/src/engine/SCons/Tool/yacc.xml
@@ -40,3 +40,37 @@ or a .hpp file
(if the yacc source file ends in a .yy suffix)
</summary>
</cvar>
+
+<cvar name="YACCHFILESUFFIX">
+<summary>
+The suffix of the C
+header file generated by the parser generator
+when the
+<option>-d</option>
+option is used.
+Note that setting this variable does not cause
+the parser generator to generate a header
+file with the specified suffix,
+it exists to allow you to specify
+what suffix the parser generator will use of its own accord.
+The default value is
+<filename>.h</filename>.
+</summary>
+</cvar>
+
+<cvar name="YACCHXXFILESUFFIX">
+<summary>
+The suffix of the C++
+header file generated by the parser generator
+when the
+<option>-d</option>
+option is used.
+Note that setting this variable does not cause
+the parser generator to generate a header
+file with the specified suffix,
+it exists to allow you to specify
+what suffix the parser generator will use of its own accord.
+The default value is
+<filename>.hpp</filename>.
+</summary>
+</cvar>