help-bison
[Top][All Lists]
Advanced

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

Re: lea.y:124.34-35: $1 of `program' has no declared type


From: Laurence Finston
Subject: Re: lea.y:124.34-35: $1 of `program' has no declared type
Date: Fri, 11 Mar 2005 16:45:03 +0100 (MET)

On Fri, 11 Mar 2005, Edulix wrote:

> But I'm having problems with the lea.y file. It just complains for every rule
> like this:
> $ bison --verbose -d lea.y
> lea.y:124.34-35: $1 of `program' has no declared type
> lea.y:124.42-43: $3 of `program' has no declared type

> Anyone can help me with this please? Any ideas? Any suggestions ?
>

Apparently, you need to declare types for the symbols used on the
right-hand side of your rule for `program'.

Laurence Finston





reply via email to

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