Browse Source

* fix typo

git-svn-id: trunk@44747 -
svenbarth 5 years ago
parent
commit
4f16473baa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/scanner.pas

+ 2 - 2
compiler/scanner.pas

@@ -1106,7 +1106,7 @@ type
 
 
   function texprvalue.evaluate(v:texprvalue;op:ttoken):texprvalue;
   function texprvalue.evaluate(v:texprvalue;op:ttoken):texprvalue;
 
 
-    function check_compatbile: boolean;
+    function check_compatible: boolean;
       begin
       begin
         result:=(
         result:=(
                   (is_ordinal(v.def) or is_fpu(v.def)) and
                   (is_ordinal(v.def) or is_fpu(v.def)) and
@@ -1200,7 +1200,7 @@ type
             end;
             end;
         end;
         end;
         _EQ,_NE,_LT,_GT,_GTE,_LTE,_PLUS,_MINUS,_STAR,_SLASH,_OP_DIV,_OP_MOD,_OP_SHL,_OP_SHR:
         _EQ,_NE,_LT,_GT,_GTE,_LTE,_PLUS,_MINUS,_STAR,_SLASH,_OP_DIV,_OP_MOD,_OP_SHL,_OP_SHR:
-        if check_compatbile then
+        if check_compatible then
           begin
           begin
             if (is_ordinal(def) and is_ordinal(v.def)) then
             if (is_ordinal(def) and is_ordinal(v.def)) then
               begin
               begin