From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- src/engine/SCons/Subst.xml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'src/engine/SCons/Subst.xml') diff --git a/src/engine/SCons/Subst.xml b/src/engine/SCons/Subst.xml index bc2daa3..26abf10 100644 --- a/src/engine/SCons/Subst.xml +++ b/src/engine/SCons/Subst.xml @@ -1,15 +1,35 @@ + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + ([exception, ...]) + Specifies the exceptions that will be allowed when expanding construction variables. By default, @@ -23,16 +43,21 @@ exception will expand to a All exceptions not in the specified list will generate an error message and terminate processing. + + If &f-AllowSubstExceptions; is called multiple times, each call completely overwrites the previous list of allowed exceptions. + + Example: + - + # Requires that all construction variable names exist. # (You may wish to do this if you want to enforce strictly # that all construction variables must be defined before use.) @@ -41,6 +66,8 @@ AllowSubstExceptions() # Also allow a string containing a zero-division expansion # like '${1 / 0}' to evalute to ''. AllowSubstExceptions(IndexError, NameError, ZeroDivisionError) - + + + \ No newline at end of file -- cgit v1.2.3