diff options
author | Raimo Niskanen <[email protected]> | 2011-06-08 12:23:17 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2011-06-08 12:23:17 +0200 |
commit | 8ad38e22ca724906fb1e3c789f4846c0c81d284d (patch) | |
tree | 5df7905d71b282190e70cff8ae2aaf4f4a3fcd73 /lib/parsetools/doc | |
parent | 612de104d23a01d5753ca39f4db4e14ba0234897 (diff) | |
parent | 69a2b05f717b9688dfb5c1aeb874499caf1026dd (diff) | |
download | otp-8ad38e22ca724906fb1e3c789f4846c0c81d284d.tar.gz otp-8ad38e22ca724906fb1e3c789f4846c0c81d284d.tar.bz2 otp-8ad38e22ca724906fb1e3c789f4846c0c81d284d.zip |
Merge branch 'ta/warnings_as_errors' into dev
* ta/warnings_as_errors:
yecc: add warnings_as_errors option
leex: add warnings_as_errors option
leex: fix typo in leex_SUITE
Diffstat (limited to 'lib/parsetools/doc')
-rw-r--r-- | lib/parsetools/doc/src/leex.xml | 4 | ||||
-rw-r--r-- | lib/parsetools/doc/src/yecc.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/parsetools/doc/src/leex.xml b/lib/parsetools/doc/src/leex.xml index 12abfd244f..1fa426a79e 100644 --- a/lib/parsetools/doc/src/leex.xml +++ b/lib/parsetools/doc/src/leex.xml @@ -79,6 +79,10 @@ Token = tuple()</code> <item><p>Causes warnings to be printed as they occur. Default is <c>true</c>.</p> </item> + <tag><c>warnings_as_errors</c></tag> + <item> + <p>Causes warnings to be treated as errors.</p> + </item> <tag><c>{report, bool()}</c></tag> <item><p>This is a short form for both <c>report_errors</c> and <c>report_warnings</c>.</p> 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 |