diff options
author | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2018-10-27 13:27:31 (GMT) |
---|---|---|
committer | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2018-11-08 19:27:49 (GMT) |
commit | e4554149c476e9eb9fe00368b2ac1ac7ac9ffe5c (patch) | |
tree | c1489234bd99f7e10d78c6a4b07a3a468e161d88 /Help | |
parent | 3de551cc22bf80f63ec9f05e3e934f42f79b8965 (diff) | |
download | CMake-e4554149c476e9eb9fe00368b2ac1ac7ac9ffe5c.zip CMake-e4554149c476e9eb9fe00368b2ac1ac7ac9ffe5c.tar.gz CMake-e4554149c476e9eb9fe00368b2ac1ac7ac9ffe5c.tar.bz2 |
Help: Remove over-precise clause.
Section "Variables References" said that environment and cache
variables are "evaluated in the same contexts as a normal variable
reference". The reader has to guess what "contexts" means in
this context. Probably "inside a Quoted Argument or an Unquoted
Argument", exactly as for ordinary variable references.
But this is exactly what the reader would tacitly assume anyway.
Therefore I think the removed clause was unnecessary, and possibly
more confusing than helpful.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-language.7.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index 630a86b..0283232 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst @@ -405,12 +405,10 @@ the ``$`` is also technically permitted but is discouraged. The `Variables`_ section documents the scope of variable names and how their values are set. -An *environment variable reference* has the form ``$ENV{VAR}`` and -is evaluated in the same contexts as a normal variable reference. +An *environment variable reference* has the form ``$ENV{VAR}``. See :variable:`ENV` for more information. -A *cache variable reference* has the form ``$CACHE{VAR}`` and -is evaluated in the same contexts as a normal variable reference. +A *cache variable reference* has the form ``$CACHE{VAR}``. See :variable:`CACHE` for more information. Comments |