A packed field that an edit reads keeps the positions of the edit mask #720
Loading…
Reference in a new issue
No description provided.
Delete branch "l4b-decl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A packed field that an edit reads keeps the positions of the edit mask
%EDITC(p : 'J')loads the packed or zoned fieldpas it is (29 S off T)and stores it to the temporary of the edit (
35 tmp) with no conversion.The compiler builds the edit mask from the digits and the positions of that
field, so the mask proves the positions of
pfor the whole module(
rpg_editc.learnScales, called fromlearnScalesofrpg_statements.zig).An earlier store of a decimal literal to
p(p = 12.5) then has itspositions at the first pass, and its statement is recovered instead of
partial with
type_inference/decimal_positions(d4-edit statement 8).The test is
src/rpg_decl_scale_test.zig.Gates