From: Ben Pfaff Date: Sat, 1 Nov 2014 04:56:59 +0000 (-0700) Subject: Fix tons and tons of parse errors. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a7157a59d3a20125a563f62f6f44a8404350d8;p=pspp Fix tons and tons of parse errors. --- diff --git a/dump.c b/dump.c index 0eade561af..d21e7af0fb 100644 --- a/dump.c +++ b/dump.c @@ -152,6 +152,9 @@ dump_value(int level) for (int i = 0; i <= level; i++) printf (" "); + match_byte (0); + match_byte (0); + match_byte (0); match_byte (0); if (match_byte (3)) { @@ -214,8 +217,8 @@ dump_value(int level) match_byte_assert (0x58); printf ("variable \"%s\"", get_string()); get_string(); - if (!match_byte (3)) - match_byte_assert (2); + if (!match_byte(1) && !match_byte(2)) + match_byte_assert(3); match_byte (0); match_byte (0); match_byte (0); @@ -473,7 +476,7 @@ dump_dim(void) match_byte_assert(0x58); get_string(); printf("string \"%s\": ", get_string()); - match_byte_assert(1); + match_byte(1) || match_byte(0); } else if (match_byte(5)) { diff --git a/notes b/notes index a71d7425ef..c8e78584fe 100644 --- a/notes +++ b/notes @@ -1015,6 +1015,29 @@ web/a57e5529f1f2d4b25f5b9ad78f91864e/000000000310122_lightTableData.bin (homogen 03 "Test" 58 "multivariate_tests" "Test" 01 00 01 i2 01 00 01 i2 i1 03 "Tukey HSD" 31 i3 00 00 01 00 i2: (00 00) i6: (00 00 00 00 58 58) "tukeys_honestly_significant_difference" "Tukey HSD" i1 i2 i0 +web/a57e5529f1f2d4b25f5b9ad78f91864e/00000000038_lightTableData.bin (Tests of Within-Subjects Contrasts): + + ... + + "Source" 58 "source_of_variation" "Source" 01 00 00 i2 00 00 01 i2 i4 00 + 58 "[%1: * ^1:]1" i1 i1 00 00 00 00 + 03 "Time" 58 00 00 00 00 "Time" 00 00 00 00 i2 00 00 00 00 00 00 00 00 00 + 58 "[%1: * ^1:]1 *[: ^1:]2" i2 i1 00 00 00 00 + 03 "Time" 58 00 00 00 00 "Time" 00 i1 00 00 00 00 + 05 58 "Lakes" "" i1 i2 i1 00 00 00 00 00 + 58 "[%1: * ^1:]1 *[: ^1:]2" i2 i1 00 00 00 00 + 03 "Time" 58 00 00 00 00 "Time" 00 i1 00 00 00 00 + 05 58 "Treatments" 00 00 00 00 i1 i2 i2 00 00 00 00 00 + 58 "Error([%1:*^1:]1)" i1 i1 00 00 00 00 + 03 "Time" 58 00 00 00 00 "Time" 00 00 00 00 i2 i3 00 00 00 00 + + 03 "Statistics" 58 "statistics_10" "Statistics" 01 00 01 i2 01 00 01 i3 i5 + 03 "Type III Sum of Squares" 58 "type_iii_sum_of_squares" "Type III Sum of Squares" i1 i2 00 00 00 00 00 00 00 00 + 03 "df" 58 "df" "df" i1 i2 i1 00 00 00 00 + 03 "Mean Square" 58 "mean_square" "Mean Square" i1 i2 i2 00 00 00 00 + 03 "F" 58 "f_value" "F" i1 i2 i3 00 00 00 00 + 03 "Sig." 58 "significance_level" "Sig." i1 i2 i4 00 00 00 00 00 00 00 00 + Data: tdump21 (germano/Crosstabs.pdf) -------------