From: Ben Pfaff Date: Sat, 1 Nov 2014 05:58:00 +0000 (-0700) Subject: Fix a few more. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08469b9582b8c7a2e5bf137d9d74148d85d9f652;p=pspp Fix a few more. --- diff --git a/dump.c b/dump.c index b4f5e995b6..41d4b06825 100644 --- a/dump.c +++ b/dump.c @@ -253,8 +253,8 @@ dump_value(int level) format = get_u32 (); vallab = get_string (); var = get_string (); - if (!match_byte(1)) - match_byte_assert (2); + if (!match_byte(1) && !match_byte(2)) + match_byte_assert (3); value = get_string (); printf ("value \"%s\" format %d(%d.%d) var \"%s\" vallab \"%s\"", value, format >> 16, (format >> 8) & 0xff, format & 0xff, var, vallab); diff --git a/notes b/notes index f4ebd4daab..f255153b12 100644 --- a/notes +++ b/notes @@ -1153,6 +1153,25 @@ web/6f1f8df78363208fec048190af27097e/00000000053_lightTableData.bin ([%1: * ^1:] 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 +web/75e80a604626e6bdbb6a107901dc9b36/000000000344_lightTableData.bin (Frequencies): + + i2 + + 05 58 "Sex" 00 00 00 00 03 00 00 i2 01 00 i1 00 i1 + 03 "Valid" 58 "valid" "Valid" 01 00 00 01 i2 ff ff ff ff i2 + 01 58 F40.0(0) 01 00 01 i2 ff ff ff ff i1 + 01 58 F40.0(-1) 01 00 i1 00 ff ff ff ff i3 + 04 58 00 06 01 00 "Male" "Sex" 03 "1" 00 00 00 i2 00 00 00 00 00 00 00 00 + 04 58 00 06 01 00 "Female" "Sex" 03 "2" 00 00 00 i2 i1 00 00 00 00 + 04 58 00 06 01 00 "Other" "Sex" 03 "3" 00 00 00 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 i1 i4 + 03 "Frequency" 58 "frequency" "Frequency" i1 i2 00 00 00 00 00 00 00 00 + 03 "Percent" 58 "percent" "Percent" i1 i2 i1 00 00 00 00 + 03 "Valid Percent" 58 "valid_percent" "Valid Percent" i1 i2 i2 00 00 00 00 + 03 "Cumulative Percent" 58 "cumulative_percent" "Cumulative Percent" i1 i2 i3 00 00 00 00 00 00 00 00 + Data: tdump21 (germano/Crosstabs.pdf) -------------