Allow dots to lead/fill raw symbols
This commit is contained in:
parent
e741ffef6d
commit
c02e790f71
|
@ -756,6 +756,8 @@
|
|||
(record (discard) '(3 4))
|
||||
(#xB3 #x80 #x13 #x14))
|
||||
|
||||
(cross-check "[abc ... def]" (list 'abc '|...| 'def) (#xC3 #x73 "abc" #x73 "..." #x73 "def"))
|
||||
|
||||
(check-equal? (d (expected #x2C #x00 #x00)) (void)) ;; missing end byte
|
||||
(check-equal? (d (expected #xC3 #x00 #x00)) (void)) ;; missing element
|
||||
|
||||
|
|
|
@ -429,9 +429,9 @@ double quote mark.
|
|||
|
||||
Symbol = symstart *symcont / "|" *symchar "|"
|
||||
symstart = ALPHA / sympunct / symunicode
|
||||
symcont = ALPHA / sympunct / symunicode / DIGIT / "-" / "."
|
||||
symcont = ALPHA / sympunct / symunicode / DIGIT / "-"
|
||||
sympunct = "~" / "!" / "@" / "$" / "%" / "^" / "&" / "*" /
|
||||
"?" / "_" / "=" / "+" / "<" / ">" / "/"
|
||||
"?" / "_" / "=" / "+" / "<" / ">" / "/" / "."
|
||||
symchar = unescaped / %x22 / escape (escaped / %x7C / %s"u" 4HEXDIG)
|
||||
symunicode = <any code point greater than 127 whose Unicode
|
||||
category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd,
|
||||
|
|
Loading…
Reference in New Issue