Bläddra i källkod

* fixed comment typo

git-svn-id: trunk@35307 -
Jonas Maebe 8 år sedan
förälder
incheckning
99a1847e2f
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      compiler/htypechk.pas

+ 2 - 2
compiler/htypechk.pas

@@ -1661,8 +1661,8 @@ implementation
              subn,
              subn,
              addn :
              addn :
                begin
                begin
-                 { Allow operators on a pointer, or an integer
-                   and a pointer typecast and deref has been found }
+                 { Allow operators on a pointer, or on an integer
+                   if a pointer typecast and deref have been found }
                  if ((hp.resultdef.typ=pointerdef) or
                  if ((hp.resultdef.typ=pointerdef) or
                      (is_integer(hp.resultdef) and gotpointer)) and
                      (is_integer(hp.resultdef) and gotpointer)) and
                     gotderef then
                     gotderef then