diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-05-18 23:24:42 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-18 23:24:55 (GMT) |
commit | dec5693641f794901851eafe24aed6a9338ad786 (patch) | |
tree | d8fdc464a4bfa9a01c9dafbfc401f534513a2893 | |
parent | 3bd8ed22e8017e5490b8e758f486433b005ace30 (diff) | |
parent | 124564504a4f3d8416899de96e0dec048c588372 (diff) | |
download | CMake-dec5693641f794901851eafe24aed6a9338ad786.zip CMake-dec5693641f794901851eafe24aed6a9338ad786.tar.gz CMake-dec5693641f794901851eafe24aed6a9338ad786.tar.bz2 |
Merge topic 'bracket-comment-doc-clarification'
124564504a Help: Clarify that bracket comments start with bracket open
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Acked-by: Ben McMorran <ben.mcmorran@gmail.com>
Merge-request: !3331
-rw-r--r-- | Help/manual/cmake-language.7.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index 5e5cfff..4ca8e3a 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst @@ -430,7 +430,7 @@ comments: a `Bracket Comment`_ and a `Line Comment`_. Bracket Comment ^^^^^^^^^^^^^^^ -A ``#`` immediately followed by a `Bracket Argument`_ forms a +A ``#`` immediately followed by a :token:`bracket_open` forms a *bracket comment* consisting of the entire bracket enclosure: .. raw:: latex @@ -461,7 +461,7 @@ For example: Line Comment ^^^^^^^^^^^^ -A ``#`` not immediately followed by a `Bracket Argument`_ forms a +A ``#`` not immediately followed by a :token:`bracket_open` forms a *line comment* that runs until the end of the line: .. raw:: latex @@ -469,7 +469,7 @@ A ``#`` not immediately followed by a `Bracket Argument`_ forms a \begin{small} .. productionlist:: - line_comment: '#' <any text not starting in a `bracket_argument` + line_comment: '#' <any text not starting in a `bracket_open` : and not containing a `newline`> .. raw:: latex |