work
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 14 Oct 2025 17:01:52 +0000 (10:01 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 14 Oct 2025 17:01:52 +0000 (10:01 -0700)
rust/doc/src/spv/light-detail.md
rust/pspp/src/output/spv/light.rs

index 206332ef2141fff4acd2b309dcf4ea3ce1cf5334..f89eb5d65960fe466597c0828112becfb00681dc 100644 (file)
@@ -760,13 +760,13 @@ column dimensions--on the contrary, they are frequently in a different
 order—but `x2` must follow this pattern to prevent the pivot table
 from being misinterpreted.
 
-If `hide-dim-label` is 00, the pivot table displays a label for the
+If `hide-dim-label` is `00`, the pivot table displays a label for the
 dimension itself.  Because usually the group and category labels are
-enough explanation, it is usually 01.
+enough explanation, it is usually `01`.
 
-If `hide-all-labels` is 01, the pivot table omits all labels for the
-dimension, including group and category labels.  It is usually 00.  When
-`hide-all-labels` is 01, `hide-dim-label` is ignored.
+If `hide-all-labels` is `01`, the pivot table omits all labels for the
+dimension, including group and category labels.  It is usually `00`.
+When `hide-all-labels` is `01`, `hide-dim-label` is ignored.
 
 `dim-index` is usually the 0-based index of the dimension, e.g. 0 for
 the first dimension, 1 for the second, and so on.  Sometimes it is -1.
@@ -804,9 +804,9 @@ A `Group` is a group of nested categories.  Usually a `Group` contains
 at least one `Category`, so that `n-subcategories` is positive, but
 `Group`s with zero subcategories have been observed.
 
-If a Group's `merge` is 00, the most common value, then the group is
+If a Group's `merge` is `00`, the most common value, then the group is
 really a distinct group that should be represented as such in the visual
-representation and user interface.  If `merge` is 01, the categories in
+representation and user interface.  If `merge` is `01`, the categories in
 this group should be shown and treated as if they were direct children
 of the group's containing group (or if it has no parent group, then
 direct children of the dimension), and this group's name is irrelevant
@@ -820,7 +820,7 @@ variable (e.g. in a frequency table or crosstabulation, a group of
 values in a variable being tabulated) and i0 otherwise.  A writer may
 safely write a constant 0 in this field.
 
-`x24` is usually 0.  Its meaning is unexplored.
+`x24` is usually `00`.  Its meaning is unexplored.
 
 ## Axes
 
@@ -1052,8 +1052,8 @@ the first nonzero byte in the encoding.
 
   The template string is localized to the user's locale.
 
-A writer may safely omit all of the optional 00 bytes at the
-beginning of a Value, except that it should write a single 00 byte
+A writer may safely omit all of the optional `00` bytes at the
+beginning of a Value, except that it should write a single `00` byte
 before a templated Value.
 
 ## ValueMod
index c65481c81dfdd1e4f10a2682182b96ed6a44dc19..05b5747ac95198e1631dd43636dbaaefc0b5df1c 100644 (file)
@@ -1079,7 +1079,8 @@ impl CustomCurrency {
 
 #[binread]
 #[br(little)]
-#[br( import(version: Version))]
+//#[br(return_unexpected_error)]
+#[br(import(version: Version))]
 #[derive(Debug)]
 enum RawValue {
     #[br(magic = 1u8)]