From f9fd27a5ee6785500ed6c06a09dfd88a6d52fe75 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 13 Oct 2022 12:03:29 -0400 Subject: Help: Fix typo that crashes older pygments lexers In commit cb14ae2b87 (try_compile: Add SOURCE_FROM_{ARG,VAR}, 2022-09-21, v3.25.0-rc1~94^2~2) we accidentally added unbalanced closing `]` characters in the `try_compile` and `try_run` signatures. Fixes: #24053 --- Help/command/try_compile.rst | 8 ++++---- Help/command/try_run.rst | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index 3a6b26a..9e9f39f 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -59,10 +59,10 @@ Try Compiling Source Files .. code-block:: cmake try_compile( - ] | - SOURCE_FROM_CONTENT ] | - SOURCE_FROM_VAR ] | - SOURCE_FROM_FILE >... + | + SOURCE_FROM_CONTENT | + SOURCE_FROM_VAR | + SOURCE_FROM_FILE >... [NO_CACHE] [CMAKE_FLAGS ...] [COMPILE_DEFINITIONS ...] diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst index be7c734..cd41a4b 100644 --- a/Help/command/try_run.rst +++ b/Help/command/try_run.rst @@ -13,10 +13,10 @@ Try Compiling and Running Source Files .. code-block:: cmake try_run( - ] | - SOURCE_FROM_CONTENT ] | - SOURCE_FROM_VAR ] | - SOURCE_FROM_FILE >... + | + SOURCE_FROM_CONTENT | + SOURCE_FROM_VAR | + SOURCE_FROM_FILE >... [NO_CACHE] [CMAKE_FLAGS ...] [COMPILE_DEFINITIONS ...] -- cgit v0.12