From: Ben Pfaff Date: Tue, 14 Oct 2025 17:01:52 +0000 (-0700) Subject: work X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=164dd7f4ee26e7f6ebffc23fb0c83735e6850bb2;p=pspp work --- diff --git a/rust/doc/src/spv/light-detail.md b/rust/doc/src/spv/light-detail.md index 206332ef21..f89eb5d659 100644 --- a/rust/doc/src/spv/light-detail.md +++ b/rust/doc/src/spv/light-detail.md @@ -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 diff --git a/rust/pspp/src/output/spv/light.rs b/rust/pspp/src/output/spv/light.rs index c65481c81d..05b5747ac9 100644 --- a/rust/pspp/src/output/spv/light.rs +++ b/rust/pspp/src/output/spv/light.rs @@ -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)]