Release coccinelle-0.1.3
[bpt/coccinelle.git] / engine / cocci_vs_c.ml
index ed20853..7cf2233 100644 (file)
@@ -3212,9 +3212,14 @@ let rec (rule_elem_node: (A.rule_elem, Control_flow_c.node) matcher) =
                   f_storage = stob;
                   f_attr = attrs;
                   f_body = body;
+                  f_old_c_style = oldstyle;
                   }, ii) -> 
       assert (null body);
 
+      if oldstyle <> None
+      then pr2 "OLD STYLE DECL NOT WELL SUPPORTED";
+
+
       (* fninfoa records the order in which the SP specified the various
         information, but this isn't taken into account in the matching.
         Could this be a problem for transformation? *)
@@ -3276,6 +3281,7 @@ let rec (rule_elem_node: (A.rule_elem, Control_flow_c.node) matcher) =
                              f_storage = stob;
                              f_attr = attrs;
                              f_body = body;
+                             f_old_c_style = oldstyle; (* TODO *)
                            },
                            iidb::ioparenb::icparenb::iifakestart::iistob)
                 )