summaryrefslogtreecommitdiffstats
path: root/Source/cmRST.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-16 02:55:51 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-18 17:35:40 (GMT)
commit621ba5e1f217aabb401d1401117ee2a3652fcc5d (patch)
tree1ef4b3719deaf29df0f764086ce3c7aa3551bc75 /Source/cmRST.cxx
parent8a132eca8aa9842b70cafa35cac97974ae5a01a5 (diff)
downloadCMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.zip
CMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.tar.gz
CMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.tar.bz2
cmRST: Add support for 'envvar' directive
This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx: Add role and directive for 'envvar' in CMake domain, 2018-04-19, v3.12.0-rc1~200^2~1).
Diffstat (limited to 'Source/cmRST.cxx')
-rw-r--r--Source/cmRST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRST.cxx b/Source/cmRST.cxx
index 26e93bb..686455e 100644
--- a/Source/cmRST.cxx
+++ b/Source/cmRST.cxx
@@ -25,7 +25,7 @@ cmRST::cmRST(std::ostream& os, std::string docroot)
, Markup(MarkupNone)
, Directive(DirectiveNone)
, CMakeDirective("^.. (cmake:)?("
- "command|variable"
+ "command|envvar|variable"
")::[ \t]+([^ \t\n]+)$")
, CMakeModuleDirective("^.. cmake-module::[ \t]+([^ \t\n]+)$")
, ParsedLiteralDirective("^.. parsed-literal::[ \t]*(.*)$")