Browse Source

+ pointerconstn is also a constant node

git-svn-id: trunk@26305 -
florian 11 years ago
parent
commit
880201e56c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/node.pas

+ 1 - 1
compiler/node.pas

@@ -659,7 +659,7 @@ implementation
 
     function is_constnode(p : tnode) : boolean;
       begin
-        is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,guidconstn]);
+        is_constnode:=(p.nodetype in [niln,ordconstn,realconstn,stringconstn,setconstn,pointerconstn,guidconstn]);
       end;