Fix tons and tons of parse errors.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Nov 2014 04:56:59 +0000 (21:56 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Nov 2014 04:56:59 +0000 (21:56 -0700)
dump.c
notes

diff --git a/dump.c b/dump.c
index 0eade561af61b036296e761e71280d201f0b6b0e..d21e7af0fb5044b8f58bcd547f438462516e1cea 100644 (file)
--- 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 a71d7425efc0d66a43d968af0c1ecdf942cb386c..c8e78584feb2fa4431107f69d289897ca56668ad 100644 (file)
--- 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)
 -------------