File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11message = [s ] * (declaration [s ]) body [s ]
22
3- declaration = " let" s variable [s ] " =" [s ] " {" [s ] expression [s ] " }"
3+ declaration = let s variable [s ] " =" [s ] " {" [s ] expression [s ] " }"
44body = pattern
55 / (selectors 1 * ([s ] variant ))
66
77pattern = " {" * (text / placeholder ) " }"
8- selectors = " match" 1 * ([s ] selector )
8+ selectors = match 1 * ([s ] selector )
99selector = " {" [s ] expression [s ] " }"
10- variant = " when" 1 * (s key ) [s ] pattern
10+ variant = when 1 * (s key ) [s ] pattern
1111key = nmtoken / literal / " *"
1212
1313placeholder = " {" [s ] (expression / markup / markup-end ) [s ] " }"
@@ -19,6 +19,10 @@ option = name [s] "=" [s] (literal / nmtoken / variable)
1919
2020markup = markup-start * (s option )
2121
22+ let = %x 6C . 65 . 74
23+ match = %x 6D . 61 . 74 . 63 . 68
24+ when = %x 77 . 68 . 65 . 6E
25+
2226non-ascii-char = %x 80 -D7FF / %x E000 -10FFFF
2327
2428text = 1 * (text-char / text-escape )
You can’t perform that action at this time.
0 commit comments