summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-04-10 11:55:38 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-04-10 11:55:38 (GMT)
commitd2b139687adbe91afa1d198176c7ca4e6a488c18 (patch)
tree17f9a2d419ccedcac74880f15ec017a851a8a424 /Help/variable
parentbd580b7d568493a795a855c0710ba4ad88532485 (diff)
downloadCMake-d2b139687adbe91afa1d198176c7ca4e6a488c18.zip
CMake-d2b139687adbe91afa1d198176c7ca4e6a488c18.tar.gz
CMake-d2b139687adbe91afa1d198176c7ca4e6a488c18.tar.bz2
Help: Minor grammar cleanups of CMAKE_CURRENT_FUNCTION* docs
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_CURRENT_FUNCTION.rst2
-rw-r--r--Help/variable/CMAKE_CURRENT_FUNCTION_LIST_DIR.rst2
-rw-r--r--Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst2
-rw-r--r--Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst3
4 files changed, 5 insertions, 4 deletions
diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION.rst b/Help/variable/CMAKE_CURRENT_FUNCTION.rst
index aa2936c..b11a62a 100644
--- a/Help/variable/CMAKE_CURRENT_FUNCTION.rst
+++ b/Help/variable/CMAKE_CURRENT_FUNCTION.rst
@@ -2,5 +2,5 @@ CMAKE_CURRENT_FUNCTION
----------------------
When executing code inside a :command:`function`, this variable
-contains the name of the current function. It can be used for
+contains the name of the current function. It can be useful for
diagnostic or debug messages.
diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_DIR.rst b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_DIR.rst
index 0119381..8e861e0 100644
--- a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_DIR.rst
+++ b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_DIR.rst
@@ -2,7 +2,7 @@ CMAKE_CURRENT_FUNCTION_LIST_DIR
-------------------------------
When executing code inside a :command:`function`, this variable
-contains the full directory of the listfile defining the current function.
+contains the full directory of the listfile that defined the current function.
It is quite common practice in CMake that modules use some additional files
(e.g., templates to render). And the code typically did the following:
diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst
index d2c846a..88d8423 100644
--- a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst
+++ b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst
@@ -2,4 +2,4 @@ CMAKE_CURRENT_FUNCTION_LIST_FILE
--------------------------------
When executing code inside a :command:`function`, this variable
-contains the full path to the listfile declaring a current function.
+contains the full path to the listfile that defined the current function.
diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst
index 5a7cd13..8b18d2e 100644
--- a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst
+++ b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst
@@ -2,4 +2,5 @@ CMAKE_CURRENT_FUNCTION_LIST_LINE
--------------------------------
When executing code inside a :command:`function`, this variable
-contains the line number in the listfile where a current function has defined.
+contains the line number in the listfile where the current function
+was defined.