From 69a2b05f717b9688dfb5c1aeb874499caf1026dd Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 28 May 2011 15:15:26 +0200 Subject: yecc: add warnings_as_errors option --- lib/parsetools/doc/src/yecc.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/parsetools/doc/src') diff --git a/lib/parsetools/doc/src/yecc.xml b/lib/parsetools/doc/src/yecc.xml index 81f1550b0a..c712609cf4 100644 --- a/lib/parsetools/doc/src/yecc.xml +++ b/lib/parsetools/doc/src/yecc.xml @@ -95,6 +95,10 @@ This is a short form for both report_errors and report_warnings. + warnings_as_errors + +

Causes warnings to be treated as errors.

+
{return_errors, bool()}. If this flag is set, {error, Errors, Warnings} is returned when there are errors. Default is -- cgit v1.2.3