We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f99ae8 commit 02e0c8dCopy full SHA for 02e0c8d
common/mik_parser.mly
@@ -58,6 +58,11 @@ let unclosed_error what startpos endpos =
58
%%
59
60
main_match_case:
61
+ | p = pattern EOF {
62
+ let dollar = to_pcre_regex "$" $endpos(p) $endpos($2) in
63
+ let loc = make_loc $startpos(p) $endpos($2) in
64
+ simplify_seq ~loc [p; dollar]
65
+ }
66
| SLASH p = pattern SLASH EOF {
67
let dollar = to_pcre_regex "$" $endpos(p) $endpos($3) in
68
let loc = make_loc $startpos(p) $endpos($3) in
0 commit comments