Fix lots of titles (only 15 errors left).
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 2 Nov 2014 18:46:56 +0000 (10:46 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 2 Nov 2014 18:46:56 +0000 (10:46 -0800)
dump.c
notes

diff --git a/dump.c b/dump.c
index 3047e3d8ad0835485133dff9d8b4bebba9843cc1..9e1ff64e6223c90d0d8f32040fe2535876887069 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -1071,7 +1071,20 @@ dump_title_value(int level)
     }
   else if (match_byte (5))
     {
-      match_byte_assert (0x58);
+      if (match_byte (0x31))
+        {
+          if (match_u32 (1))
+            {
+              printf("(footnote %d) ", get_u32());
+              match_byte_assert (0);
+              match_byte_assert (0);
+              int subn = get_u32 ();
+              printf ("nested %d bytes", subn);
+              pos += subn;
+            }
+        }
+      else
+        match_byte_assert (0x58);
       printf ("variable \"%s\"", get_string());
       get_string();
       if (!match_byte(1) && !match_byte(2))
diff --git a/notes b/notes
index 2b730e298cc1135477a81ce8c0dd1e343fe7bae1..6ff211a80e7821db923207f5bb7b53abc2901f22 100644 (file)
--- a/notes
+++ b/notes
@@ -274,6 +274,18 @@ germano/Crosstabs/00000000014_lightTableData.bin:
        i0 05 58 "fobia" 00 00 00 00 i3 00
        01 58 02 06 05 00 9a 99 99 99 99 99 a9 i63 00 
 
+web/7e29c00c8c2a7e490636b7f74598b6a4/000000002315210_lightTableData.bin:
+
+    05 31 i1 i0 00 00 i11: (i5: (00 00 00 00 58) 58 58) "meaning10" "routine household tasks" 02
+    03 "Frequencies" 58 00 00 00 00 "Frequencies" 01
+    31
+    05 31 i1 i0 00 00 i11: (i5: (00 00 00 00 58) 58 58) "meaning10" "routine household tasks" 02
+    58
+    58 i1 00 31 i0 i0 i36: (i30: (00 00 00 00 31 "[%1 = %2:, ^1 = ^2:]1") 58 58) "[%1 = %2:, ^1 = ^2:]1" i1 i2 i0
+       05 58 "meaning14" "level of enjoyment" i2 00
+       02 58 F40.2(3.80)
+
+
 Fonts
 -----