diff --git a/src/passes/1-parser/reasonligo/dune b/src/passes/1-parser/reasonligo/dune index 6eb7304b8..f89578a4c 100644 --- a/src/passes/1-parser/reasonligo/dune +++ b/src/passes/1-parser/reasonligo/dune @@ -73,14 +73,13 @@ (action (run %{script_cover} --lex-tokens=LexToken.mli --par-tokens=ParToken.mly --ext=religo --unlexer=./Unlexer.exe --messages=Parser.msg --dir=. --concatenate Parser.mly ))) ;; Error messages - ;; Generate error messages from scratch ; (rule ; (targets error.messages) ; (deps Parser.mly ParToken.mly error.messages.checked-in) ; (action -; (with-stdout-to %{targets} -; (bash +; (with-stdout-to %{targets} +; (bash ; "menhir \ ; --unused-tokens \ ; --list-errors \ @@ -99,11 +98,11 @@ (targets error.messages) (deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli) (action - (with-stdout-to %{targets} - (run - menhir + (with-stdout-to %{targets} + (run + menhir --unused-tokens - --update-errors error.messages.checked-in + --update-errors error.messages.checked-in --table --strict --external-tokens LexToken.mli @@ -117,8 +116,8 @@ (rule (target error.messages.new) (action - (with-stdout-to %{target} - (run + (with-stdout-to %{target} + (run menhir --unused-tokens --list-errors @@ -137,7 +136,7 @@ (name runtest) (deps error.messages error.messages.new) (action - (run + (run menhir --unused-tokens --table @@ -158,8 +157,8 @@ (targets ParErr.ml) (deps Parser.mly ParToken.mly error.messages.checked-in LexToken.mli) (action - (with-stdout-to %{targets} - (run + (with-stdout-to %{targets} + (run menhir --unused-tokens --table