Some progress on interpreting 31s and understanding footnotes.
[pspp] / dump.c
diff --git a/dump.c b/dump.c
index 30e34facaf00efcd2fe03470bbeae77df4ba1b28..ce87e86b2d9b396486b26aa86a9573c6dd36ea55 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -189,12 +189,17 @@ dump_category(int level)
       int subn;
 
       match_byte_assert (0x31);
-      get_u32 ();
-      get_u32 ();
+      match_u32_assert (0);
+      match_u32_assert (0);
       subn = get_u32 ();
       printf ("nested %d bytes", subn);
       pos += subn;
       printf ("; \"%s\"", get_string());
+      fprintf (stderr, "got %02x\n", data[pos]);
+      match_byte (1);
+      match_byte (0);
+      match_byte (0);
+      match_byte (0);
       goto next;
     }