dotgnu-general
[Top][All Lists]
Advanced

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

[DotGNU]pnet-0.4.4 fails to build with bison 1.75


From: Sylvain Pasche
Subject: [DotGNU]pnet-0.4.4 fails to build with bison 1.75
Date: Thu, 24 Oct 2002 21:57:51 +0200

Hi,

I Just wanted to inform that I did not manage to compile pnet-0.4.4
recently: bison seemed not to like some grammars files, when ';' is
missing or when a node type definition is given twice.
I don't know if this is specific to my version of bison.

I saw it was fixed in the cvs, but here's what I changed to get it compile:

diff -ru pnet-0.4.4_old/cscc/c/c_grammar.y pnet-0.4.4/cscc/c/c_grammar.y
--- pnet-0.4.4_old/cscc/c/c_grammar.y   2002-08-28 06:36:50.000000000 +0200
+++ pnet-0.4.4/cscc/c/c_grammar.y       2002-10-24 21:37:49.000000000 +0200
@@ -966,7 +966,7 @@
 %type <node>           ParameterIdentifierList IdentifierList ParameterList
 %type <node>           ParameterTypeList ParameterDeclaration ParamDeclaration
 %type <node>           OptParamDeclarationList ParamDeclarationList
-%type <node>           ParamDeclaratorList ParamDeclaration
+%type <node>           ParamDeclaratorList
 
 %type <node>           StructDeclaratorList StructDeclarator InitDeclarator
 %type <node>           InitDeclaratorList Initializer InitializerList
@@ -983,7 +983,7 @@
 %type <declSpec>       TypeSpecifierList
 
 %type <decl>           Declarator Declarator2 Pointer AbstractDeclarator
-%type <decl>           AbstractDeclarator2 ParamDeclarator ParamDeclarator
+%type <decl>           AbstractDeclarator2 ParamDeclarator
 
 %type <kind>           StructOrUnion TypeQualifierList TypeQualifier
 
diff -ru pnet-0.4.4_old/cscc/csharp/cs_grammar.y 
pnet-0.4.4/cscc/csharp/cs_grammar.y
--- pnet-0.4.4_old/cscc/csharp/cs_grammar.y     2002-09-02 05:48:44.000000000 
+0200
+++ pnet-0.4.4/cscc/csharp/cs_grammar.y 2002-10-24 21:34:02.000000000 +0200
@@ -807,8 +807,7 @@
 %type <node>           FormalIndexParameterList
 %type <node>           InterfaceDeclaration InterfaceBase InterfaceBody
 %type <node>           OptInterfaceMemberDeclarations 
InterfaceMemberDeclarations
-%type <node>           InterfaceMemberDeclarations InterfaceMemberDeclaration
-%type <node>           InterfaceMemberDeclaration InterfaceMemberDeclarations
+%type <node>           InterfaceMemberDeclaration
 %type <node>           InterfaceMethodDeclaration InterfacePropertyDeclaration
 %type <node>           InterfaceIndexerDeclaration InterfaceEventDeclaration
 %type <mask>           InterfaceAccessors OptNew InterfaceAccessorBody
Only in pnet-0.4.4/cscc/csharp: cs_grammar.y~
diff -ru pnet-0.4.4_old/ilasm/ilasm_grammar.y pnet-0.4.4/ilasm/ilasm_grammar.y
--- pnet-0.4.4_old/ilasm/ilasm_grammar.y        2002-09-02 05:48:45.000000000 
+0200
+++ pnet-0.4.4/ilasm/ilasm_grammar.y    2002-10-24 21:31:46.000000000 +0200
@@ -1786,6 +1786,7 @@
                                        $$.name2 = 0;
                                }
                        }
+       ;
 
 MethodAttributeName
        : K_STATIC                              { SET_METHOD(STATIC); }



reply via email to

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