mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 18:47:52 +02:00
* changed the "laststatement" parameter of internalstatements() from "var"
to "out" git-svn-id: trunk@28228 -
This commit is contained in:
parent
627c83e828
commit
9e29fd424d
@ -258,7 +258,7 @@ interface
|
||||
|
||||
{ Create a blocknode and statement node for multiple statements
|
||||
generated internally by the parser }
|
||||
function internalstatements(var laststatement:tstatementnode):tblocknode;
|
||||
function internalstatements(out laststatement:tstatementnode):tblocknode;
|
||||
function laststatement(block:tblocknode):tstatementnode;
|
||||
procedure addstatement(var laststatement:tstatementnode;n:tnode);
|
||||
|
||||
@ -282,7 +282,7 @@ implementation
|
||||
Helpers
|
||||
*****************************************************************************}
|
||||
|
||||
function internalstatements(var laststatement:tstatementnode):tblocknode;
|
||||
function internalstatements(out laststatement:tstatementnode):tblocknode;
|
||||
begin
|
||||
{ create dummy initial statement }
|
||||
laststatement := cstatementnode.create(cnothingnode.create,nil);
|
||||
|
Loading…
Reference in New Issue
Block a user