See the doc comments for the voltage_divider function for details. By passing external parameters as arguments to the vdiv function we can leverage the dependency resolving of the evaluator. The given parameters will subsequently be made available via En identifiers where n counts up from 1 (like is commonly done for resistors as well).
The escaping/quoting issue in kicad_parse_gen probably originates from the function parse_split_quote_aware_int in lib.rs. I can look into it a little more deeply at some point.
See the doc comments for the
voltage_divider
function for details. By passing external parameters as arguments to thevdiv
function we can leverage the dependency resolving of the evaluator. The given parameters will subsequently be made available viaEn
identifiers wheren
counts up from 1 (like is commonly done for resistors as well).Completes the final task of #16.