mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Add rule to recreate the error message file from scratch
This commit is contained in:
parent
716700c8be
commit
ea451bc46f
@ -16,6 +16,11 @@
|
||||
|
||||
;; No built-in support for Menhir's parser messages yet
|
||||
|
||||
(rule
|
||||
(with-stdout-to
|
||||
parser.messages.new
|
||||
(run menhir %{dep:parser.mly} --list-errors)))
|
||||
|
||||
(rule
|
||||
(with-stdout-to
|
||||
parser_errors.ml
|
||||
@ -30,3 +35,8 @@
|
||||
(alias update-parser-messages)
|
||||
(action
|
||||
(diff parser.messages parser.messages.updated)))
|
||||
|
||||
(rule
|
||||
(alias create-parser-messages)
|
||||
(action
|
||||
(diff parser.messages parser.messages.new)))
|
||||
|
Loading…
Reference in New Issue
Block a user