Fix empty case for OCaml 3.11 and above.
authorRichard W.M. Jones <rich@annexia.org>
Fri, 8 Jan 2010 14:28:17 +0000 (14:28 +0000)
committerRichard W.M. Jones <rich@annexia.org>
Fri, 8 Jan 2010 14:28:17 +0000 (14:28 +0000)
pa_bitstring.ml

index 0c09356..1414612 100644 (file)
@@ -1123,6 +1123,10 @@ EXTEND Gram
       fields = LIST0 patt_field SEP ";";
       "}" ->
        List.concat fields
+    | "{";
+      "_";
+      "}" ->
+       []
     ]
   ];