+ printnode shortcut for lazy people

git-svn-id: trunk@8501 -
This commit is contained in:
florian 2007-09-16 10:47:28 +00:00
parent abfdda6129
commit b4da246668

View File

@ -457,6 +457,7 @@ interface
procedure printnodeindent;
procedure printnodeunindent;
procedure printnode(var t:text;n:tnode);
procedure printnode(n:tnode);
function is_constnode(p : tnode) : boolean;
function is_constintnode(p : tnode) : boolean;
@ -628,6 +629,12 @@ implementation
end;
procedure printnode(n:tnode);
begin
printnode(output,n);
end;
function is_constnode(p : tnode) : boolean;
begin
is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,guidconstn]);