|
@@ -460,6 +460,7 @@ interface
|
|
function is_constboolnode(p : tnode) : boolean;
|
|
function is_constboolnode(p : tnode) : boolean;
|
|
function is_constenumnode(p : tnode) : boolean;
|
|
function is_constenumnode(p : tnode) : boolean;
|
|
function is_constwidecharnode(p : tnode) : boolean;
|
|
function is_constwidecharnode(p : tnode) : boolean;
|
|
|
|
+ function is_constpointernode(p : tnode) : boolean;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
implementation
|
|
@@ -670,6 +671,13 @@ implementation
|
|
is_constenumnode:=(p.nodetype=ordconstn) and (p.resultdef.typ=enumdef);
|
|
is_constenumnode:=(p.nodetype=ordconstn) and (p.resultdef.typ=enumdef);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+
|
|
|
|
+ function is_constpointernode(p : tnode) : boolean;
|
|
|
|
+ begin
|
|
|
|
+ is_constpointernode:=(p.nodetype=pointerconstn);
|
|
|
|
+ end;
|
|
|
|
+
|
|
|
|
+
|
|
{****************************************************************************
|
|
{****************************************************************************
|
|
TNODE
|
|
TNODE
|
|
****************************************************************************}
|
|
****************************************************************************}
|