|
@@ -1450,6 +1450,8 @@ implementation
|
|
if not assigned(fd) and
|
|
if not assigned(fd) and
|
|
(token=_SEMICOLON) then
|
|
(token=_SEMICOLON) then
|
|
begin
|
|
begin
|
|
|
|
+ if is_objectpascal_helper(current_structdef) then
|
|
|
|
+ consume(_FOR);
|
|
{ add to the list of definitions to check that the forward
|
|
{ add to the list of definitions to check that the forward
|
|
is resolved. this is required for delphi mode }
|
|
is resolved. this is required for delphi mode }
|
|
current_module.checkforwarddefs.add(current_structdef);
|
|
current_module.checkforwarddefs.add(current_structdef);
|