Browse Source

* fixed a regression, introduced in r24571

git-svn-id: trunk@24583 -
nickysn 12 years ago
parent
commit
5dfdb616be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -3045,7 +3045,7 @@ implementation
           is_const:=(po_internconst in procdefinition.procoptions) and
           is_const:=(po_internconst in procdefinition.procoptions) and
                     ((block_type in [bt_const,bt_type,bt_const_type,bt_var_type]) or
                     ((block_type in [bt_const,bt_type,bt_const_type,bt_var_type]) or
                      (assigned(left) and ((tcallparanode(left).left.nodetype in [realconstn,ordconstn])
                      (assigned(left) and ((tcallparanode(left).left.nodetype in [realconstn,ordconstn])
-                      and not assigned(tcallparanode(left).right) or (tcallparanode(left).right.nodetype in [realconstn,ordconstn]))));
+                      and (not assigned(tcallparanode(left).right) or (tcallparanode(left).right.nodetype in [realconstn,ordconstn])))));
           if (procdefinition.proccalloption=pocall_internproc) or is_const then
           if (procdefinition.proccalloption=pocall_internproc) or is_const then
            begin
            begin
              if assigned(left) then
              if assigned(left) then