|
@@ -195,11 +195,13 @@ interface
|
|
'specializen');
|
|
'specializen');
|
|
|
|
|
|
{ a set containing all const nodes }
|
|
{ a set containing all const nodes }
|
|
- nodetype_const = [ordconstn,
|
|
|
|
|
|
+ nodetype_const = [niln,
|
|
|
|
+ ordconstn,
|
|
pointerconstn,
|
|
pointerconstn,
|
|
stringconstn,
|
|
stringconstn,
|
|
guidconstn,
|
|
guidconstn,
|
|
- realconstn];
|
|
|
|
|
|
+ realconstn,
|
|
|
|
+ setconstn];
|
|
|
|
|
|
type
|
|
type
|
|
{ all boolean field of ttree are now collected in flags }
|
|
{ all boolean field of ttree are now collected in flags }
|
|
@@ -657,7 +659,7 @@ implementation
|
|
|
|
|
|
function is_constnode(p : tnode) : boolean;
|
|
function is_constnode(p : tnode) : boolean;
|
|
begin
|
|
begin
|
|
- is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,pointerconstn,guidconstn]);
|
|
|
|
|
|
+ is_constnode:=(p.nodetype in nodetype_const);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|