Release coccinelle-0.2.4rc5
[bpt/coccinelle.git] / parsing_c / parsing_recovery_c.ml
index 223e785..a7c9bd8 100644 (file)
@@ -116,9 +116,9 @@ and find_next_synchro_orig next already_passed =
       | Parser_c.TCommentSpace sp::Parser_c.TIdent x::Parser_c.TPtVirg iptvirg
         ::xs ->
           pr2_err "ERROR-RECOV: found sync bis, eating ident, }, and ;";
+          (Parser_c.TPtVirg iptvirg)::
+          (Parser_c.TIdent x)::
           (Parser_c.TCommentSpace sp)::
-            (Parser_c.TPtVirg iptvirg)::
-            (Parser_c.TIdent x)::
             v::
             already_passed,
           xs
@@ -126,9 +126,9 @@ and find_next_synchro_orig next already_passed =
       | Parser_c.TCommentNewline sp::Parser_c.TIdent x::Parser_c.TPtVirg iptvirg
         ::xs ->
           pr2_err "ERROR-RECOV: found sync bis, eating ident, }, and ;";
+          (Parser_c.TPtVirg iptvirg)::
+          (Parser_c.TIdent x)::
           (Parser_c.TCommentNewline sp)::
-            (Parser_c.TPtVirg iptvirg)::
-            (Parser_c.TIdent x)::
             v::
             already_passed,
           xs