I always just pick one (`int', but it doesn't really matter). You don't have to set `$$' to a value in a rule.
Laurence Finston -------- Original-Nachricht -------- > Datum: Mon, 12 Oct 2009 15:05:15 -0400 > Von: Rodrigo Dominguez <rodd...@hotmail.com> > An: help-bison@gnu.org > Betreff: Undeclared value type for nonterminals when using multiple value > types > > Hi, > > What is the default data type for nonterminals when using multiple data > types (%union)? In other words, can I have nonterminals with undefined data > types (no %type<..>) when using %union? I have seen some grammars use this, > however, I don't see anything on the manual referring to this scenario. > > I am using Bison 2.3. > > Thank you, > > Rodrigo > > _______________________________________________ > help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison