diff --git a/src/menhir-recover/emitter.ml b/src/menhir-recover/emitter.ml index 79eef49ae..ad7beaf96 100644 --- a/src/menhir-recover/emitter.ml +++ b/src/menhir-recover/emitter.ml @@ -36,10 +36,10 @@ end = struct | (Abort | Reduce _ | Shift _) as a -> a | Seq [ v ] -> normalize_action v | Seq v -> (match normalize_actions v with [ x ] -> x | xs -> Seq xs) - - (* Find sharing opportunities. If the same sequence of action occurs multiple - times, the funtion will associate a unique identifier to the sequence. - + + (* Find sharing opportunities. + If the same sequence of action occurs multiple times, the function + will associate a unique identifier to the sequence. [share actions] returns a pair [(bindings, lookup) : action list array * (action list -> int option)] diff --git a/src/reason-parser/reason_parser.mly b/src/reason-parser/reason_parser.mly index b9024fb53..3a7466f32 100644 --- a/src/reason-parser/reason_parser.mly +++ b/src/reason-parser/reason_parser.mly @@ -3756,7 +3756,7 @@ field_expr: * * After `blah`, the parser couldn't tell whether to reduce `label` or * `val_ident`. So inlining the terminal here to avoid the whole decision. - * Another approach would have been to place the `label` rule at at a precedence + * Another approach would have been to place the `label` rule at a precedence * of below_COLON or something. *) | as_loc(LIDENT) COLON expr diff --git a/test/README.md b/test/README.md index c2a3fd35d..8ccf8d712 100644 --- a/test/README.md +++ b/test/README.md @@ -45,7 +45,7 @@ Make sure the OCaml's version is between the range of the `ocaml` field in esy.j 1. Install the specific version you want with: `esy add ocaml@{{ ocaml_version }}` 2. Run the test with: `esy dune runtest` -### Setup the local enviroment with opam +### Setup the local environment with opam The opam workflow is only tested in CI and isn't needed for development, but can become handy since you can install many switches with different versions of OCaml and load them when needed.