Browse Source

* low(var) var must be valid

peter 20 years ago
parent
commit
50d0ba7a7f
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/ninl.pas

+ 5 - 2
compiler/ninl.pas

@@ -1707,7 +1707,7 @@ implementation
               in_low_x,
               in_low_x,
               in_high_x:
               in_high_x:
                 begin
                 begin
-                  set_varstate(left,vs_used,false);
+                  set_varstate(left,vs_used,true);
                   case left.resulttype.def.deftype of
                   case left.resulttype.def.deftype of
                     orddef,
                     orddef,
                     enumdef:
                     enumdef:
@@ -2471,7 +2471,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.158  2005-01-23 21:47:14  florian
+  Revision 1.159  2005-02-04 16:30:56  peter
+    * low(var) var must be valid
+
+  Revision 1.158  2005/01/23 21:47:14  florian
     * another improvement of pi handling
     * another improvement of pi handling
 
 
   Revision 1.157  2005/01/23 21:09:12  florian
   Revision 1.157  2005/01/23 21:09:12  florian