mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 10:26:04 +02:00
+ printnode shortcut for lazy people
git-svn-id: trunk@8501 -
This commit is contained in:
parent
abfdda6129
commit
b4da246668
@ -457,6 +457,7 @@ interface
|
|||||||
procedure printnodeindent;
|
procedure printnodeindent;
|
||||||
procedure printnodeunindent;
|
procedure printnodeunindent;
|
||||||
procedure printnode(var t:text;n:tnode);
|
procedure printnode(var t:text;n:tnode);
|
||||||
|
procedure printnode(n:tnode);
|
||||||
|
|
||||||
function is_constnode(p : tnode) : boolean;
|
function is_constnode(p : tnode) : boolean;
|
||||||
function is_constintnode(p : tnode) : boolean;
|
function is_constintnode(p : tnode) : boolean;
|
||||||
@ -628,6 +629,12 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure printnode(n:tnode);
|
||||||
|
begin
|
||||||
|
printnode(output,n);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
function is_constnode(p : tnode) : boolean;
|
function is_constnode(p : tnode) : boolean;
|
||||||
begin
|
begin
|
||||||
is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,guidconstn]);
|
is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,guidconstn]);
|
||||||
|
Loading…
Reference in New Issue
Block a user