mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-23 10:20:32 +00:00
c++: variants: comparing addresses of typeid.name() is undefined
Instead of storing and comparing pointers to names of types, store pointers to the typeids, and compares the typeids. Reported by Thomas Jahns. <http://lists.gnu.org/archive/html/bug-bison/2014-03/msg00001.html> * data/variant.hh (yytname_): Replace with... (yytypeid_): this.
This commit is contained in:
@@ -132,6 +132,7 @@ Steve Murphy [email protected]
|
||||
Sum Wu [email protected]
|
||||
Théophile Ranquet [email protected]
|
||||
Thiru Ramakrishnan [email protected]
|
||||
Thomas Jahns [email protected]
|
||||
Tim Josling [email protected]
|
||||
Tim Landscheidt [email protected]
|
||||
Tim Van Holder [email protected]
|
||||
|
||||
Reference in New Issue
Block a user