git.annexia.org
/
ocaml-bitstring.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change syntax so that { ... } surrounds match patterns.
[ocaml-bitstring.git]
/
tests
/
10_constr2.ml
diff --git
a/tests/10_constr2.ml
b/tests/10_constr2.ml
index
31af87f
..
92b1470
100644
(file)
--- a/
tests/10_constr2.ml
+++ b/
tests/10_constr2.ml
@@
-1,12
+1,12
@@
(* Test a simple constructor.
(* Test a simple constructor.
- * $Id: 10_constr2.ml,v 1.
1 2008-04-02 11:06:07
rjones Exp $
+ * $Id: 10_constr2.ml,v 1.
2 2008-04-25 11:08:43
rjones Exp $
*)
let version = 1 ;;
let data = 10 ;;
let bits =
BITSTRING
*)
let version = 1 ;;
let data = 10 ;;
let bits =
BITSTRING
- version : 4;
-
data : 12
;;
+
{
version : 4;
+
data : 12 }
;;
Bitmatch.hexdump_bitstring stdout bits ;;
Bitmatch.hexdump_bitstring stdout bits ;;