aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/doc/src/yecc.xml
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-05-28 15:15:26 +0200
committerTuncer Ayaz <[email protected]>2011-06-01 11:41:59 +0200
commit69a2b05f717b9688dfb5c1aeb874499caf1026dd (patch)
tree9f246235b35083c96d0b1d4760ec04a50bbd4aa3 /lib/parsetools/doc/src/yecc.xml
parent8f9203ccd0c64cb4b03792e5599b27af26e2fcde (diff)
downloadotp-69a2b05f717b9688dfb5c1aeb874499caf1026dd.tar.gz
otp-69a2b05f717b9688dfb5c1aeb874499caf1026dd.tar.bz2
otp-69a2b05f717b9688dfb5c1aeb874499caf1026dd.zip
yecc: add warnings_as_errors option
Diffstat (limited to 'lib/parsetools/doc/src/yecc.xml')
-rw-r--r--lib/parsetools/doc/src/yecc.xml4
1 files changed, 4 insertions, 0 deletions
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 @@
<item>This is a short form for both <c>report_errors</c> and
<c>report_warnings</c>.
</item>
+ <tag><c>warnings_as_errors</c></tag>
+ <item>
+ <p>Causes warnings to be treated as errors.</p>
+ </item>
<tag><c>{return_errors, bool()}</c>.</tag>
<item>If this flag is set, <c>{error, Errors, Warnings}</c>
is returned when there are errors. Default is