Jessica Hamilton
unread,May 9, 2009, 12:17:04 AM5/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bitstring
Hi,
I'm trying to use bitstring (and I'm sure it all worked in prev 1.9.9
version for me), and it's not working.
The error is:
File "kernel/networkProtocolStack.ml", line 7, characters 5-6:
Parse error: ":" expected after [patt] (in [patt_field])
The first few lines of my source code is as follows:
1.
2. (* The network protocol stack... *)
3.
4. let word bstring n =
5. bitmatch bstring with
6. | { word : n : bigendian } when word <= 0xFFFF_L -> Int64.to_int
word
7. | { _ } -> assert(false)
8.
I'm pretty sure line 7 is syntactically correct w.r.t. bitmatch.
Jessica