Use aver not assert.

* src/output.c: Don't include assert.h.
(output_skeleton): Use aver not assert.
* src/system.h (aver): In documentation of why, add links to
Paul Eggert's explanations in the mailing lists.
This commit is contained in:
Joel E. Denny
2009-09-03 13:59:07 -04:00
parent 61bc57e533
commit 9789acf091
3 changed files with 13 additions and 3 deletions

View File

@@ -124,7 +124,10 @@ typedef size_t uintptr_t;
`-------------*/
/* <assert.h>'s assertions are too heavyweight, and can be disabled
too easily, so use aver rather than assert. */
too easily, so use aver rather than assert. See discussions at
<http://lists.gnu.org/archive/html/bison-patches/2006-01/msg00080.html>
<http://lists.gnu.org/archive/html/bison-patches/2006-09/msg00111.html>.
*/
static inline void
aver (bool assertion)
{