mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-19 06:17:33 +03:00
3ee004bd72
Allows multiple commas leading, trailing and between elements (Issue 1841)
32 lines
369 B
Plaintext
32 lines
369 B
Plaintext
|
|
-- LITERALS
|
|
ln = 10
|
|
li = +10
|
|
lf = 10.0
|
|
lt = "text"
|
|
lc = ?ひ
|
|
lb = true
|
|
sn = [1,2,3,4,5,6,ln]
|
|
|
|
-- Allow redundant commas in lists #1841
|
|
s = [,,,,,,]
|
|
stn = [,,,(1,2),,,(3,4),(5,6),,,,]
|
|
sc =
|
|
[
|
|
,
|
|
-- ?d
|
|
,
|
|
?*
|
|
,
|
|
|
|
?1
|
|
,
|
|
, ?§, ?°,
|
|
?;,
|
|
,
|
|
, ,
|
|
]
|
|
|
|
-- Make sure we can compile all literals
|
|
> (ln, li, lf, lt, lc, lb, sn, s, stn, sc)
|