| @@ -197,7 +197,7 @@ let showlinktype under = · 196 unmodified lines |
| 197 | 197 | |
| 198 | 198 | let intentry_with_suffix text key = |
| 199 | 199 | let text = |
| 200 | | − match [@warning "-4"] key with |
| 200 | + match [@warning "-fragile-match"] key with |
| 201 | 201 | | Keys.Ascii ('0'..'9' as c) -> addchar text c |
| 202 | 202 | | Keys.Ascii ('k' | 'm' | 'g' | 'K' | 'M' | 'G' as c) -> |
| 203 | 203 | addchar text @@ Char.lowercase_ascii c |
| @@ -1443,7 +1443,7 @@ let intentry text key = · 1239 unmodified lines |
| 1443 | 1443 | if emptystr text && key = Keys.Ascii '-' |
| 1444 | 1444 | then addchar text '-' |
| 1445 | 1445 | else |
| 1446 | | − match [@warning "-4"] key with |
| 1446 | + match [@warning "-fragile-match"] key with |
| 1447 | 1447 | | Keys.Ascii ('0'..'9' as c) -> addchar text c |
| 1448 | 1448 | | _ -> |
| 1449 | 1449 | state.text <- "invalid key"; |
| @@ -1470,7 +1470,7 @@ let linknact f s = · 20 unmodified lines |
| 1470 | 1470 | loop 0 state.layout; |
| 1471 | 1471 | ;; |
| 1472 | 1472 | |
| 1473 | | −let linknentry text = function [@warning "-4"] |
| 1473 | +let linknentry text = function [@warning "-fragile-match"] |
| 1474 | 1474 | | Keys.Ascii c -> |
| 1475 | 1475 | let text = addchar text c in |
| 1476 | 1476 | linknact (fun under -> state.text <- undertext under) text; |
| @@ -1480,7 +1480,7 @@ let linknentry text = function [@warning "-4"] · 3 unmodified lines |
| 1480 | 1480 | TEcont text |
| 1481 | 1481 | ;; |
| 1482 | 1482 | |
| 1483 | | −let textentry text key = match [@warning "-4"] key with |
| 1483 | +let textentry text key = match [@warning "-fragile-match"] key with |
| 1484 | 1484 | | Keys.Ascii c -> TEcont (addchar text c) |
| 1485 | 1485 | | Keys.Code c -> TEcont (text ^ toutf8 c) |
| 1486 | 1486 | | _ -> TEcont text |
| @@ -1692,7 +1692,7 @@ let downbirdseye incr (conf, leftx, pageno, hooverpageno, anchor) = · 205 unmodified lines |
| 1692 | 1692 | |
| 1693 | 1693 | let optentry mode _ key = |
| 1694 | 1694 | let btos b = if b then "on" else "off" in |
| 1695 | | − match [@warning "-4"] key with |
| 1695 | + match [@warning "-fragile-match"] key with |
| 1696 | 1696 | | Keys.Ascii 'C' -> |
| 1697 | 1697 | let ondone s = |
| 1698 | 1698 | try |
| @@ -2696,7 +2696,7 @@ let enterinfomode = · 997 unmodified lines |
| 2696 | 2696 | method! key key mask = |
| 2697 | 2697 | if not (Wsi.withctrl mask) |
| 2698 | 2698 | then |
| 2699 | | − match [@warning "-4"] Wsi.ks2kt key with |
| 2699 | + match [@warning "-fragile-match"] Wsi.ks2kt key with |
| 2700 | 2700 | | Keys.Left -> coe (self#updownlevel ~-1) |
| 2701 | 2701 | | Keys.Right -> coe (self#updownlevel 1) |
| 2702 | 2702 | | _ -> super#key key mask |
| @@ -3394,7 +3394,7 @@ let viewkeyboard key mask = · 691 unmodified lines |
| 3394 | 3394 | in |
| 3395 | 3395 | let ondone msg = state.text <- msg |
| 3396 | 3396 | and zmod _ _ k = |
| 3397 | | − match [@warning "-4"] k with |
| 3397 | + match [@warning "-fragile-match"] k with |
| 3398 | 3398 | | Keys.Ascii 'z' -> |
| 3399 | 3399 | let f pageno ys = |
| 3400 | 3400 | let ym, yM = yminmax ys in |
| @@ -3565,7 +3565,7 @@ let viewkeyboard key mask = · 164 unmodified lines |
| 3565 | 3565 | gotopage1 (n + conf.pagebias - 1) 0; |
| 3566 | 3566 | ) |
| 3567 | 3567 | in |
| 3568 | | − let pageentry text = function [@warning "-4"] |
| 3568 | + let pageentry text = function [@warning "-fragile-match"] |
| 3569 | 3569 | | Keys.Ascii 'g' -> TEdone text |
| 3570 | 3570 | | key -> intentry text key |
| 3571 | 3571 | in |