Avoid confusing dashes/numerics in symunicode at start of a symbol
This commit is contained in:
parent
7d2ffe640d
commit
3c676cb3de
12
preserves.md
12
preserves.md
|
@ -347,14 +347,16 @@ escape syntax, except using a bar or pipe character (`|`) instead of a
|
||||||
double quote mark.
|
double quote mark.
|
||||||
|
|
||||||
Symbol = symstart *symcont / "|" *symchar "|"
|
Symbol = symstart *symcont / "|" *symchar "|"
|
||||||
symstart = ALPHA / sympunct / symunicode
|
symstart = ALPHA / sympunct / symustart
|
||||||
symcont = ALPHA / sympunct / symunicode / DIGIT / "-"
|
symcont = ALPHA / sympunct / symustart / symucont / DIGIT / "-"
|
||||||
sympunct = "~" / "!" / "$" / "%" / "^" / "&" / "*" /
|
sympunct = "~" / "!" / "$" / "%" / "^" / "&" / "*" /
|
||||||
"?" / "_" / "=" / "+" / "/" / "."
|
"?" / "_" / "=" / "+" / "/" / "."
|
||||||
symchar = unescaped / %x22 / escape (escaped / %x7C / %s"u" 4HEXDIG)
|
symchar = unescaped / %x22 / escape (escaped / %x7C / %s"u" 4HEXDIG)
|
||||||
symunicode = <any code point greater than 127 whose Unicode
|
symustart = <any code point greater than 127 whose Unicode
|
||||||
category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd,
|
category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me,
|
||||||
Nl, No, Pd, Pc, Po, Sc, Sm, Sk, So, or Co>
|
Pc, Po, Sc, Sm, Sk, So, or Co>
|
||||||
|
symucont = <any code point greater than 127 whose Unicode
|
||||||
|
category is Nd, Nl, No, or Pd>
|
||||||
|
|
||||||
[^cf-sexp-token]: Compare with the [SPKI S-expression][sexp.txt]
|
[^cf-sexp-token]: Compare with the [SPKI S-expression][sexp.txt]
|
||||||
definition of "token representation", and with the
|
definition of "token representation", and with the
|
||||||
|
|
Loading…
Reference in New Issue