|
@@ -548,6 +548,10 @@ implementation
|
|
|
if (p.nodetype=vecn) and
|
|
|
(nf_memseg in p.flags) then
|
|
|
CGMessage(parser_e_no_with_for_variable_in_other_segments);
|
|
|
+
|
|
|
+ { "with procvar" can never mean anything, so always try
|
|
|
+ to call it in case it returns a record/object/... }
|
|
|
+ maybe_call_procvar(p,false);
|
|
|
|
|
|
if (p.resultdef.typ in [objectdef,recorddef,classrefdef]) then
|
|
|
begin
|