variables: use parse.assert' instead of assert'.

* TODO (assert): Remove.
	* data/bison.m4 (b4_assert_if): Replace with...
	(b4_parse_assert_if): this.
	* data/lalr1.cc, data/variant.hh, tests/c++.at: Adjust.
	* doc/bison.texinfo (Decl Summary): Document parse.assert.
This commit is contained in:
Akim Demaille
2009-04-14 06:52:31 +02:00
parent fa81950916
commit 0c90a1f5e9
7 changed files with 42 additions and 19 deletions

View File

@@ -5003,6 +5003,22 @@ The parser namespace is @code{foo} and @code{yylex} is referenced as
@end itemize
@c namespace
@item parse.assert
@findex %define parse.assert
@itemize
@item Languages(s): C++
@item Purpose: Issue runtime assertions to catch invalid uses.
In C++, when variants are used, symbols must be constructed and
destroyed properly. This option checks these constraints.
@item Accepted Values: Boolean
@item Default Value: @code{false}
@end itemize
@c parse.assert
@item parse.trace
@findex %define parse.trace