From dbc443b00a71c183d5cfcffe744fdcdb477d6904 Mon Sep 17 00:00:00 2001 From: Alain Frisch Date: Wed, 18 Jan 2012 12:15:13 +0000 Subject: [PATCH] Parse the new output of warn-help. git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- manual/manual/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/manual/Makefile b/manual/manual/Makefile index d062d451e..3ebf9c160 100644 --- a/manual/manual/Makefile +++ b/manual/manual/Makefile @@ -121,4 +121,4 @@ version.tex: $(SRC)/stdlib/sys.ml sed -n -e 's/^\([0-9]*\.[0-9]*\).*$$/\\def\\ocamlversion{\1}/p' $(SRC)/VERSION > version.tex warnings.tex: $(SRC)/utils/warnings.ml - $(SRC)/boot/ocamlrun $(SRC)/ocamlc -warn-help | sed -e 's/^ *\([0-9][0-9]*\)\(.*\)/\\item[\1] \2/' > warnings.tex + $(SRC)/boot/ocamlrun $(SRC)/ocamlc -warn-help | sed -e 's/^ *\([0-9A-Z][0-9]*\)\(.*\)/\\item[\1] \2/' > warnings.tex