|
@@ -1609,8 +1609,11 @@ implementation
|
|
if is_func then
|
|
if is_func then
|
|
begin
|
|
begin
|
|
consume(_COLON);
|
|
consume(_COLON);
|
|
|
|
+ pd.proctypeoption:=potype_function;
|
|
pd.returndef:=result_type([stoAllowSpecialization]);
|
|
pd.returndef:=result_type([stoAllowSpecialization]);
|
|
- end;
|
|
|
|
|
|
+ end
|
|
|
|
+ else
|
|
|
|
+ pd.proctypeoption:=potype_procedure;
|
|
if try_to_consume(_OF) then
|
|
if try_to_consume(_OF) then
|
|
begin
|
|
begin
|
|
consume(_OBJECT);
|
|
consume(_OBJECT);
|