Fix incorrect coding of "\" in Doxygen comments

This commit fixes a formatting problem with these two files
when built with Doxygen version 1.9.3.

The correct encoding is to escape the quotes and the backslash.
While the older style encoding used to work, it is no longer
supported due to a fix with how a single quote gets handled
by Doxygen. The escaped version works with Doxygen 1.8.17
so this will work fine with the current build version as well as
in more recent versions (tested with 1.9.3).

Closes #22461.
This commit is contained in:
Randalphwa
2022-05-26 18:09:58 -07:00
committed by Vadim Zeitlin
parent e777a82bfd
commit f2c78e19e4
2 changed files with 5 additions and 5 deletions

View File

@@ -125,7 +125,7 @@ follows; some more constraints are described later, under
The lookahead constraints may not contain back references (see later), and all The lookahead constraints may not contain back references (see later), and all
parentheses within them are considered non-capturing. A RE may not end with parentheses within them are considered non-capturing. A RE may not end with
"\". \"\\\".
@section overview_resyntax_bracket Bracket Expressions @section overview_resyntax_bracket Bracket Expressions

View File

@@ -298,7 +298,7 @@ the following table:
@itemdef{ "\n", line break } @itemdef{ "\n", line break }
@itemdef{ "\r", carriage return } @itemdef{ "\r", carriage return }
@itemdef{ "\t", tab } @itemdef{ "\t", tab }
@itemdef{ "\\", "\" } @itemdef{ \"\\\", backslash }
@endDefList @endDefList
By default, the text is translated using wxLocale::GetTranslation() before By default, the text is translated using wxLocale::GetTranslation() before
@@ -2952,10 +2952,10 @@ files with older values of @c version attribute of @c \<resource\>).
@subsection overview_xrcformat_pre_v2530 Versions Before 2.5.3.0 @subsection overview_xrcformat_pre_v2530 Versions Before 2.5.3.0
Version 2.5.3.0 introduced C-like handling of "\\" in text. In older versions, Version 2.5.3.0 introduced C-like handling of \"\\\\\" in text. In older versions,
"\n", "\t" and "\r" escape sequences were replaced with respective characters "\n", "\t" and "\r" escape sequences were replaced with respective characters
in the same matter it's done in C, but "\\" was left intact instead of being in the same matter as it's done in C, but \"\\\\\" was left intact instead of being
replaced with single "\", as one would expect. Starting with 2.5.3.0, all of replaced with a single \"\\\", as one would expect. Starting with 2.5.3.0, all of
them are handled in C-like manner. them are handled in C-like manner.