diff --git a/patterns/bson.hexpat b/patterns/bson.hexpat index 8ca8d3c..53caf77 100644 --- a/patterns/bson.hexpat +++ b/patterns/bson.hexpat @@ -3,6 +3,7 @@ #pragma MIME application/bson +#include #include enum Type : u8 { @@ -128,4 +129,4 @@ struct Document { padding[1]; }; -Document document @ 0x00; \ No newline at end of file +Document documents[while(!std::mem::eof())] @ 0x00 [[inline]];