2
0
Эх сурвалжийг харах

* Fix incorrect usage of result value.

git-svn-id: trunk@5090 -
daniel 19 жил өмнө
parent
commit
1406181aa5

+ 1 - 1
compiler/ncal.pas

@@ -383,7 +383,7 @@ type
                         end;
                         end;
                       {In the procedure the array range is 0..(upper_bound-lower_bound).}
                       {In the procedure the array range is 0..(upper_bound-lower_bound).}
                       hightree:=caddnode.create(subn,r,l);
                       hightree:=caddnode.create(subn,r,l);
-                      typecheckpass(gen_high_tree);
+                      typecheckpass(hightree);
 
 
                       {Replace the rangnode in the tree by its lower_bound, and
                       {Replace the rangnode in the tree by its lower_bound, and
                        dispose the rangenode.}
                        dispose the rangenode.}