bug fix #420
This commit is contained in:
parent
f560f24705
commit
18447ac9d9
|
|
@ -12016,7 +12016,7 @@ namespace PascalABCCompiler.TreeConverter
|
|||
AddError(get_location(_function_header), "FUNCTION_NEED_RETURN_TYPE");
|
||||
if (_function_header.where_defs != null)
|
||||
{
|
||||
if (!unique)
|
||||
if (!unique && false)
|
||||
{
|
||||
AddError(get_location(_function_header.where_defs), "WHERE_SECTION_MUST_BE_ONLY_IN_FIRST_DECLARATION");
|
||||
}
|
||||
|
|
@ -12183,7 +12183,7 @@ namespace PascalABCCompiler.TreeConverter
|
|||
}
|
||||
if (_procedure_header.where_defs != null)
|
||||
{
|
||||
if (!unique)
|
||||
if (!unique && false)
|
||||
{
|
||||
AddError(get_location(_procedure_header.where_defs), "WHERE_SECTION_MUST_BE_ONLY_IN_FIRST_DECLARATION");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue