From c107b124acaad2a8d1378f75a5dba4412548d873 Mon Sep 17 00:00:00 2001 From: costcould Date: Fri, 2 Aug 2024 15:40:18 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: costcould --- src/menhir-recover/emitter.ml | 2 +- src/reason-parser/reason_parser.mly | 2 +- test/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/menhir-recover/emitter.ml b/src/menhir-recover/emitter.ml index 92ac07e2d..7650c9d24 100644 --- a/src/menhir-recover/emitter.ml +++ b/src/menhir-recover/emitter.ml @@ -48,7 +48,7 @@ end = struct | xs -> Seq xs (* Find sharing opportunities. - If the same sequence of action occurs multiple times, the funtion + If the same sequence of action occurs multiple times, the function will associate a unique identifier to the sequence. [share actions] returns a pair diff --git a/src/reason-parser/reason_parser.mly b/src/reason-parser/reason_parser.mly index b0dba5181..5ac6162b3 100644 --- a/src/reason-parser/reason_parser.mly +++ b/src/reason-parser/reason_parser.mly @@ -3691,7 +3691,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.