help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undeclared value type for nonterminals when using multiple value typ


From: Laurence Finston
Subject: Re: Undeclared value type for nonterminals when using multiple value types
Date: Tue, 13 Oct 2009 08:07:39 +0200

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 <address@hidden>
> An: address@hidden
> 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
>                                         
> _______________________________________________
> address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]