help-bison
[Top][All Lists]
Advanced

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

Re: .y Compile Error


From: Hans Aberg
Subject: Re: .y Compile Error
Date: Mon, 5 Apr 2004 20:17:16 +0200

It could be something that Bison did not check before, but does now. The
default action, if none is written explicitly, is $$ = $1. With types it is
probably $$.<foo> = $1.<bar>. So if these somehow clashes, perhaps you
should write an explicit action.


At 15:32 +0500 2004/04/05, Srivatsan Sridharan wrote:
>Hi All,
>
>       I am new to bison. One of my company's tools does automatic
>generation of Object-ids from an SNMP MIB file ( Management Information
>base ). The same *.y file that compiles in bison 1.28 ( in Linux ) does
>not compile on 1.35 windows version. It gives me the following error.
>
>premosyy.y:571: type clash (`' `str') on default action.
>
>Can anyone please explain me how to get around this error. Any help would
>be appreciated. Thanks.
>
>
>Regards
>Srivatsan.
>
>
>
>
>
>
>_______________________________________________
>address@hidden http://mail.gnu.org/mailman/listinfo/help-bison







reply via email to

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