Cosmetics.

This commit is contained in:
Christian Rinderknecht 2020-04-07 18:57:43 +02:00
parent a343989a6b
commit 53223e9d8e

View File

@ -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