rpg_statements.zig, rpg_eval.zig: calls with a CONST buffer argument, and imports shared by several prototypes #746
Loading…
Reference in a new issue
No description provided.
Delete branch "lc2f"
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?
rpg_statements.zig, rpg_eval.zig: calls with a CONST buffer argument, and imports shared by several prototypes
Fifty public statements stopped at type_inference / operation 75 (r9r-decstr 4,
dict calls2 to calls5, CALLS 7, program-). Operation 75 is not the cause: it
belongs to the frame of a call (
29 44 96 3; 5; 75 2; 42 252 0 N) thatrpg_frames.zigalready rewrites to one call operation. The run of the rewrittencall failed, and the fallback to the raw operations reported the first operation
it could not read. Three causes, found with the
lc2-concat-formsbattery(SC-ILE/EXPERIMENTS/lc2-cat-) and the dict calls rows:
(
extproc('strcat')in dict calls3 to calls5) give a module import table of 24rows against 17 program imports, so
imports.resolverefuses the pairing andrpg_statements.importNameskept no name. The first word of a module table rowis the symbol of the import.
imports.symbolNamesnames each requested symbolfrom its called row, and only when the old pairing fails; a symbol with no
called row leaves every import unnamed, as before.
importNameschanges in twoexisting lines (net growth 0).
value to a buffer and blanks the rest. The padded-buffer rule took only a
literal as the value; it now also takes the text that
concatenatedjoined fromthe pieces of a buffer (
Eval.joined).CALLP SHOWC(S255 + S256)(lc2-cat-call-const-char).
temporary, then the store of the same length to bytes 0 and 1, now leaves the
temporary holding the value (
varyingTemp), asvaryingdoes for a field.S255 = DECSTR('12')(r9r-decstr 4). The merge takes a line back, sorunvoids a clean point that lies after the lines that remain; without it the
statement reader indexed past the lines (TLICR, TRPG3).
dict-calls3, dict-calls4 and dict-calls5 are adopted as probes. Still open in
those rows:
opdescand*stringarguments (calls3 67, 83), procedure pointers(calls4),
cmdexcand a data structure argument (calls2).Gates