help-bison
[Top][All Lists]
Advanced

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

bison 1.5 upgrade breaking code


From: Ken Foskey
Subject: bison 1.5 upgrade breaking code
Date: 13 Oct 2002 15:47:49 +1000

I am an open office developer running debian unstable and the latest
upgrade to v 1.5 has broken some of the code (including nas which I have
patched).  I am not a bison programmer unfortunately and the proper
solution escapes me.

Here are the two parts of the program that compile and build under the
old versions of bison. I have tried to tinker with them using guess work
but they have given broken results.

type_dcl :
        IDL_TYPEDEF
        {
                idlc()->setParseState(PS_TypedefSeen);
        }
        type_declarator
        | struct_type
        | union_type
        | enum_type
        ;

../unxlngi4.pro/misc/stripped_parser.y:1703.10-1708.16: type clash
(`dclval' `') on default action

Patches I have tried are to pre declare type_declarator.


I also have this line:
constants_export :
        const_dcl
        {
                idlc()->setParseState(PS_ConstantDeclSeen);
        }
        ';'

This can have two solutions, move the ';' above the braces and add a
another ; or just remove the quotes.

Note that I have got it to compile but the logic is stuffed, breaks
later in the build so results are different.

Thanks
KenF
Open Office Developer





reply via email to

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