File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -118,18 +118,14 @@ extension (env: ENV)
118
118
case " ]:" => env.endMAP
119
119
/*
120
120
@s -> MAP
121
- #{]} #{,>M}.
122
- */
123
- case " ];" => env.endARR.pairMAP
124
- /*
125
- @s -> MAP
126
121
Empty `MAP`.
127
122
*/
128
123
case " []:" => env.push(UN .toMAP)
129
124
/*
130
125
@s -> MAP
131
- #{[]: }.
126
+ #{]} #{,>M }.
132
127
*/
128
+ case " ];" => env.endARR.pairMAP
133
129
case " [];" => env.push(UN .toMAP)
134
130
/*
135
131
@s -> _
@@ -2205,7 +2201,7 @@ extension (env: ENV)
2205
2201
@s a b f' -> _'
2206
2202
#{scan} from the right.
2207
2203
*/
2208
- case " scanR " => env.scanR
2204
+ case " scanr " => env.scanR
2209
2205
/*
2210
2206
@s a -> NUM
2211
2207
Sum of `a`. Equivalent to `0 \+ rfold`.
Original file line number Diff line number Diff line change @@ -55,8 +55,9 @@ case class Parser(
55
55
56
56
def pesc (c : Char ): Parser = addc :
57
57
c match
58
- case '"' => " \" "
59
- case _ => " \\ " + c
58
+ case '"' => " \" "
59
+ case '\\ ' => " \\ "
60
+ case _ => " \\ " + c
60
61
.sett(PT .STR )
61
62
62
63
def pstr (c : Char ): Parser = c match
You can’t perform that action at this time.
0 commit comments