Files
mp-units/docs/reference/systems_reference
Mateusz Pusz 199cc49a7e fix(scripts): update systems reference generator for the two-axis quantity_character
The QUANTITY_SPEC parser only recognized `quantity_character::` as a character override,
and the generated metadata-extraction program `switch`ed over the character enum. Both
broke once the ISQ definitions moved to the `quantity_tensor_order` / `quantity_field`
spelling and `quantity_character` became a struct.

- Treat `quantity_tensor_order::` and `quantity_field::` (alongside `quantity_character::`)
  as character overrides when deciding whether the third macro argument is an equation.
- Rewrite `character_to_string` to compare against the two-axis values instead of switching
  on an enum.

The regenerated reference is byte-identical (only the source hash changes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 23:53:58 +02:00
..