mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-26 12:51:36 +01:00
* make nested comment warning go away
git-svn-id: trunk@15208 -
This commit is contained in:
parent
6acc54191f
commit
af3eee54cd
@ -548,7 +548,7 @@ implementation
|
|||||||
if (p.nodetype=vecn) and
|
if (p.nodetype=vecn) and
|
||||||
(nf_memseg in p.flags) then
|
(nf_memseg in p.flags) then
|
||||||
CGMessage(parser_e_no_with_for_variable_in_other_segments);
|
CGMessage(parser_e_no_with_for_variable_in_other_segments);
|
||||||
|
|
||||||
{ "with procvar" can never mean anything, so always try
|
{ "with procvar" can never mean anything, so always try
|
||||||
to call it in case it returns a record/object/... }
|
to call it in case it returns a record/object/... }
|
||||||
maybe_call_procvar(p,false);
|
maybe_call_procvar(p,false);
|
||||||
@ -1181,7 +1181,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
exclude(tcallnode(p).callnodeflags,cnf_return_value_used);
|
exclude(tcallnode(p).callnodeflags,cnf_return_value_used);
|
||||||
|
|
||||||
{ in {$x-} state, the function result must not be ignored }
|
{ in $x- state, the function result must not be ignored }
|
||||||
if not(cs_extsyntax in current_settings.moduleswitches) and
|
if not(cs_extsyntax in current_settings.moduleswitches) and
|
||||||
not(is_void(p.resultdef)) and
|
not(is_void(p.resultdef)) and
|
||||||
not((tcallnode(p).procdefinition.proctypeoption=potype_constructor) and
|
not((tcallnode(p).procdefinition.proctypeoption=potype_constructor) and
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user