diff options
author | kerzum <[email protected]> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:33 +0300 |
commit | 9a7232babfd763ccfe827bc70e82e0f50cfd8276 (patch) | |
tree | a39808b7482c4711a80f799a7281adb36d76a13a /util/string/escape.cpp | |
parent | 0e68ae909d3b76a5a001a07880eb0010dec6b2ea (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/string/escape.cpp')
-rw-r--r-- | util/string/escape.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util/string/escape.cpp b/util/string/escape.cpp index cd09a7dbd02..3378a14a17c 100644 --- a/util/string/escape.cpp +++ b/util/string/escape.cpp @@ -5,8 +5,8 @@ #include <util/charset/utf8.h> #include <util/charset/wide.h> -/// @todo: escape trigraphs (eg "??/" is "\") - +/// @todo: escape trigraphs (eg "??/" is "\") + /* REFEREBCES FOR ESCAPE SEQUENCE INTERPRETATION: * C99 p. 6.4.3 Universal character names. * C99 p. 6.4.4.4 Character constants. @@ -31,14 +31,14 @@ * - Hexadecimal escape sequence spans until rightmost non-hexadecimal-digit character. * - Universal character name consists of exactly 4 or 8 hexadecimal digit. * - * by kerzum@ - * It is also required to escape trigraphs that are enabled in compilers by default and - * are also processed inside string literals - * The nine trigraphs and their replacements are - * - * Trigraph: ??( ??) ??< ??> ??= ??/ ??' ??! ??- - * Replacement: [ ] { } # \ ^ | ~ - * + * by kerzum@ + * It is also required to escape trigraphs that are enabled in compilers by default and + * are also processed inside string literals + * The nine trigraphs and their replacements are + * + * Trigraph: ??( ??) ??< ??> ??= ??/ ??' ??! ??- + * Replacement: [ ] { } # \ ^ | ~ + * */ namespace { template <typename TChar> |