فهرست منبع

+ pointerconstn is also a constant node

git-svn-id: trunk@26305 -
florian 11 سال پیش
والد
کامیت
880201e56c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;