diff options
author | Steven Knight <knight@baldmt.com> | 2010-06-27 18:33:04 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-06-27 18:33:04 (GMT) |
commit | 9be7b07c0c453792c750e0842e81eb8cb9dbffc2 (patch) | |
tree | 7f8079aad795f2c98fd93e69bcbedcc47df8ba61 /doc/user/environments.xml | |
parent | f90d10625d4d91e698160c77677ba07d6995e8e2 (diff) | |
download | SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.zip SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.gz SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.bz2 |
Issue 5062: XML fixes in the User's Guide. (Dirk Baechle)
Diffstat (limited to 'doc/user/environments.xml')
-rw-r--r-- | doc/user/environments.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/user/environments.xml b/doc/user/environments.xml index 6970a92..b2a8505 100644 --- a/doc/user/environments.xml +++ b/doc/user/environments.xml @@ -779,7 +779,8 @@ environment, of directory names, suffixes, etc. If a problem occurs when expanding a construction variable, by default it is expanded to <literal>''</literal> (a null string), and will not cause scons to fail. - + </para> + <programlisting> env = Environment() print "value is:", env.subst( '->$MISSING<-' ) @@ -790,7 +791,8 @@ environment, of directory names, suffixes, etc. value is: -><- scons: `.' is up to date. </screen> - + + <para> This default behaviour can be changed using the &AllowSubstExceptions; function. When a problem occurs with a variable expansion it generates |