From cb54903b4f33b348cf1ac73a7a27844e78657650 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 31 Oct 2014 22:50:34 -0700 Subject: [PATCH] Fix some more. --- dump.c | 4 +++- notes | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/dump.c b/dump.c index c51db00154..b4f5e995b6 100644 --- 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); diff --git a/notes b/notes index bb232e5843..f4ebd4daab 100644 --- a/notes +++ b/notes @@ -1128,6 +1128,31 @@ web/7a17f5600db5be64b985ac37b1346aa8/00000000072_lightTableData.bin (Between-Sub ... +web/6f1f8df78363208fec048190af27097e/00000000053_lightTableData.bin ([%1: * ^1:]1 Crosstabulation): + + i4 + + 05 58 "agerange" "agerange" 02 75 02 i2 00 00 i1 00 i3 + 02 58 F40.2(1.00) "agerange" 00 00 00 00 i2 i2 00 00 00 00 00 00 00 00 + 02 58 F40.2(2.00) "agerange" 00 00 00 00 i2 i2 i1 00 00 00 00 + 02 58 F40.2(3.00) "agerange" 00 00 00 00 i2 i2 i2 00 00 00 00 + + 05 58 "sex" "RESPONDENTS SEX" 02 00 00 i2 01 00 01 i1 i2 + 05 58 "sex" "RESPONDENTS SEX" 02 00 00 i1 00 ff ff ff ff i2 + 02 58 F40.0(1) "sex" "male" i2 i2 00 00 00 00 00 00 00 00 + 02 58 F40.0(2) "sex" "female" i2 i2 i1 00 00 00 00 + 03 "Total" 58 "total_4" "Total" i1 i2 i2 00 00 00 00 + + 05 58 "pres92" "VOTE FOR CLINTON, BUSH, PEROT" 02 00 00 i2 01 00 01 i2 i2 + 05 58 "pres92" "VOTE FOR CLINTON, BUSH, PEROT" 02 00 00 i1 00 ff ff ff ff i3 + 02 58 F40.0(1) "pres92" "Bush" i2 i2 00 00 00 00 00 00 00 00 + 02 58 F40.0(2) "pres92" "Perot" i2 i2 i1 00 00 00 00 + 02 58 F40.0(3) "pres92" "Clinton" i2 i2 i2 00 00 00 00 + 03 "Total" 58 "total_4" "Total" i1 i2 i3 00 00 00 00 + + 03 "Statistics" 58 "statistics_10" "Statistics" 01 00 01 i2 01 00 01 i3 i1 + 03 "Count" 58 "count_6" "Count" i1 i2 00 00 00 00 00 00 00 00 + Data: tdump21 (germano/Crosstabs.pdf) ------------- -- 2.30.2