Fix some more.
[pspp] / dump.c
diff --git a/dump.c b/dump.c
index c51db00154403bda8c5bbfbe8278ff2009d811d5..b4f5e995b6f382ea86e95ab81315cd894b1f59bb 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -536,7 +536,9 @@ dump_dim(void)
         }
     }
 
-  match_byte_assert(0);
+  /* This byte is usually 0x02 but 0x00 and 0x75 (!) have also been spotted. */
+  pos++;
+
   if (!match_byte(0) && !match_byte(1))
     match_byte_assert(2);
   match_u32_assert(2);