@@ -31,8 +31,8 @@ Macros starting with ``PRI`` and ``__PRI`` from `<inttypes.h>` are
31
31
expanded, escaping is handled and adjacent strings are concatenated to form
32
32
a single ``StringLiteral `` before the format string is converted. Use of
33
33
any other macros in the format string will cause a warning message to be
34
- emitted and no conversion will be performed. The resultant converted format
35
- string will always be a single string literal.
34
+ emitted and no conversion will be performed. The converted format string
35
+ will always be a single string literal.
36
36
37
37
The check doesn't do a bad job, but it's not perfect. In particular:
38
38
@@ -42,9 +42,9 @@ The check doesn't do a bad job, but it's not perfect. In particular:
42
42
43
43
- At the point that the check runs, the AST contains a single
44
44
``StringLiteral `` for the format string where escapes have been expanded.
45
- The check tries to put the escapes back , they may not be exactly as they
46
- were written (e.g. ``"\x41\x0a" `` will become ``"A\n" `` and `` "ab" "cd" ``
47
- will become ``"abcd" ``.)
45
+ The check tries to reconstruct escapes sequences , they may not be the
46
+ same as they were written (e.g. ``"\x41\x0a" `` will become ``"A\n" `` and
47
+ `` "ab" "cd" `` will become ``"abcd" ``.)
48
48
49
49
- It supports field widths, precision, positional arguments, leading zeros,
50
50
leading ``+ ``, alignment and alternative forms.
0 commit comments