ld of the union it needs to use to decode the
semantic value.
A situation where you declare a type and still get a "has no declared
type" error didn't seem normal to me, that's why I had to dig into the
source code and post here.
You're asking for completely new
On 21 Jan 2009, at 11:28, Alexander Sorockin wrote:
But what semantic value do you expect to be assigned for these $k
values?
According to the manual, "$n with n zero or negative is allowed for
reference to tokens and groupings on the stack before those that
match the current rule."
So
Le 20 janv. 09 à 21:53, Alexander Sorockin a écrit :
Hi,
Has anyone besides me noticed that $n with n zero or negative always
triggers a "$n ... has no declared type" error when a %union is used?
And it's normal: since you are looking deep in the stack, Bison cannot
fig
On 20 Jan 2009, at 21:53, Alexander Sorockin wrote:
Has anyone besides me noticed that $n with n zero or negative always
triggers a "$n ... has no declared type" error when a %union is used?
But what semantic value do you expect to be assigned for these $k
values? - Once upon t
Hi,
Has anyone besides me noticed that $n with n zero or negative always
triggers a "$n ... has no declared type" error when a %union is used?
Cosider this grammar, which is a slightly modified example from the manual:
%union {
int val;
}
%token NUM
%start fo
..
" no declared type error" . I have searched for this error on net
but could
hardly get any help.
Any suggestions?
Thanks in advance
-hari
___
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/
Hi,
I am trying to bison a parser.y file. I am unable to compile it as it
shows..
" no declared type error" . I have searched for this error on net but could
hardly get any help.
Any suggestions?
Thanks in advance
-hari
___
help-bison@gn