mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
Fix incorrect dynarray length type merge with subsequent longint in IdentList.
This commit is contained in:
parent
6c0c666f91
commit
5c3b42be09
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ MODULE OPC; (* copyright (c) J. Templ 12.7.95 / 3.7.96 *)
|
||||||
DeclareObj(obj, vis = 3);
|
DeclareObj(obj, vis = 3);
|
||||||
IF obj^.typ^.comp = OPT.DynArr THEN (* declare len parameter(s) *)
|
IF obj^.typ^.comp = OPT.DynArr THEN (* declare len parameter(s) *)
|
||||||
EndStat; BegStat;
|
EndStat; BegStat;
|
||||||
base := OPT.linttyp;
|
base := OPT.adrtyp;
|
||||||
OPM.WriteString("ADDRESS "); LenList(obj, FALSE, TRUE)
|
OPM.WriteString("ADDRESS "); LenList(obj, FALSE, TRUE)
|
||||||
ELSIF (obj^.mode = OPT.VarPar) & (obj^.typ^.comp = OPT.Record) THEN
|
ELSIF (obj^.mode = OPT.VarPar) & (obj^.typ^.comp = OPT.Record) THEN
|
||||||
EndStat; BegStat;
|
EndStat; BegStat;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue