From e4554149c476e9eb9fe00368b2ac1ac7ac9ffe5c Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" Date: Sat, 27 Oct 2018 15:27:31 +0200 Subject: 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. --- Help/manual/cmake-language.7.rst | 6 ++---- 1 file 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 -- cgit v0.12