Skip to content

Commit

Permalink
doc: parse.assert in C++ requires RTTI
Browse files Browse the repository at this point in the history
* doc/bison.texi (%define Summary): Say it.
  • Loading branch information
akimd committed Jun 27, 2020
1 parent eeafc70 commit 4efb2f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/bison.texi
Original file line number Diff line number Diff line change
Expand Up @@ -6658,7 +6658,10 @@ In C, some important invariants in the implementation of the parser are
checked when this option is enabled.

In C++, when variants are used (@pxref{C++ Variants}), symbols must be
constructed and destroyed properly. This option checks these constraints.
constructed and destroyed properly. This option checks these constraints
using runtime type information (RTTI). Therefore the generated code cannot
be compiled with RTTI disabled (via compiler options such as
@option{-fno-rtti}).

@item Accepted Values: Boolean

Expand Down

0 comments on commit 4efb2f7

Please sign in to comment.