Skip to content

Commit 69fb61b

Browse files
Clarify use of base-62 numbers in grammar specification.
1 parent 2c157ce commit 69fb61b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

text/0000-symbol-name-mangling-v2.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,13 @@ Mangled names conform to the following grammar:
473473
"u" // Unadjusted
474474
)
475475
476-
<disambiguator> = "s" [<base-62-digit>] "_"
476+
// <base-62-number> uses 0-9-a-z-A-Z as digits, i.e. 'a' is decimal 10 and
477+
// 'Z' is decimal 61.
478+
<disambiguator> = "s" [<base-62-number>] "_"
477479
478480
<generic-arguments> = "I" {<type>} "E"
479481
480-
<substitution> = "S" [<base-62-digit>] "_"
482+
<substitution> = "S" [<base-62-number>] "_"
481483
482484
// We use <path-prefix> here, so that we don't have to add a special rule for
483485
// compression. In practice, only <identifier> is expected.

0 commit comments

Comments
 (0)