Fix empty case for OCaml 3.11 and above.
[ocaml-bitstring.git] / pa_bitstring.ml
index 0c09356..1414612 100644 (file)
@@ -1123,6 +1123,10 @@ EXTEND Gram
       fields = LIST0 patt_field SEP ";";
       "}" ->
        List.concat fields
+    | "{";
+      "_";
+      "}" ->
+       []
     ]
   ];