mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 07:01:44 +02: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
|
||||
(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);
|
||||
@ -1181,7 +1181,7 @@ implementation
|
||||
begin
|
||||
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
|
||||
not(is_void(p.resultdef)) and
|
||||
not((tcallnode(p).procdefinition.proctypeoption=potype_constructor) and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user