Could you try with the following patch? Be sure that menhir runs. parsing_cocci/parser_cocci_menhir.ml should go down to 37212 lines.

diff --git a/parsing_cocci/parser_cocci_menhir.mly 
b/parsing_cocci/parser_cocci_menhir.mly
index 978079b..79f19c0 100644
--- a/parsing_cocci/parser_cocci_menhir.mly
+++ b/parsing_cocci/parser_cocci_menhir.mly
@@ -632,7 +632,6 @@ arity: TBang0 { Ast.UNIQUE }

 /* ---------------------------------------------------------------------- */

-%inline
 signable_types:
   ty=Tchar
     { Ast0.wrap(Ast0.BaseType(Ast.CharType,[P.clt2mcode "char" ty])) }
@@ -672,7 +671,6 @@ signable_types:
            [P.clt2mcode "long" ty1;P.clt2mcode "long" ty2;
              P.clt2mcode "int" ty3])) }

-%inline
 non_signable_types:
   ty=Tvoid
     { Ast0.wrap(Ast0.BaseType(Ast.VoidType,[P.clt2mcode "void" ty])) }
@@ -714,7 +712,6 @@ non_signable_types:
 | p=TTypeId
     { Ast0.wrap(Ast0.TypeName(P.id2mcode p)) }

-%inline
 all_basic_types:
   r=Tsigned ty=signable_types
     { Ast0.wrap(Ast0.Signed(P.clt2mcode Ast.Signed r,Some ty)) }
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to