浏览代码

* spelling fixes

florian 3 年之前
父节点
当前提交
a401898139
共有 7 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      compiler/dbgstabs.pas
  2. 1 1
      compiler/jvm/njvmcal.pas
  3. 1 1
      compiler/ncgld.pas
  4. 1 1
      compiler/pdecobj.pas
  5. 1 1
      compiler/pdecsub.pas
  6. 1 1
      compiler/pexpr.pas
  7. 1 1
      compiler/x86_64/hlcgcpu.pas

+ 1 - 1
compiler/dbgstabs.pas

@@ -1537,7 +1537,7 @@ implementation
                 begin
                   { When the *value* of a parameter (so not its address!) is
                     copied into a local variable, you have to generate two
-                    stabs: one for the parmeter, and one for the local copy.
+                    stabs: one for the parameter, and one for the local copy.
                     Not doing this breaks debugging under e.g. SPARC. Doc:
                     http://sourceware.org/gdb/current/onlinedocs/stabs_4.html#SEC26
                   }

+ 1 - 1
compiler/jvm/njvmcal.pas

@@ -224,7 +224,7 @@ implementation
           so we can use it if required to handle copying the return value back }
         leftcopy:=left.getcopy;
         implicitptrpara:=jvmimplicitpointertype(orgparadef);
-        { create the array temp that that will serve as the paramter }
+        { create the array temp that that will serve as the parameter }
         if parasym.vardef.typ=formaldef then
           arreledef:=java_jlobject
         else if implicitptrpara then

+ 1 - 1
compiler/ncgld.pas

@@ -242,7 +242,7 @@ implementation
 
     procedure tcgloadnode.generate_nested_access(vs: tsym);
       var
-        { paramter declared as tsym to reduce interface unit dependencies }
+        { parameter declared as tsym to reduce interface unit dependencies }
         lvs: tabstractnormalvarsym absolute vs;
       begin
         secondpass(left);

+ 1 - 1
compiler/pdecobj.pas

@@ -81,7 +81,7 @@ implementation
             internalerror(2011040502);
         end;
         // We can't add hidden params here because record is not yet defined
-        // and therefore record size which has influence on paramter passing rules may change too
+        // and therefore record size which has influence on parameter passing rules may change too
         // look at record_dec to see where calling conventions are applied (issue #0021044).
         // The same goes for objects/classes due to the calling convention that may only be set
         // later (mantis #35233).

+ 1 - 1
compiler/pdecsub.pas

@@ -1788,7 +1788,7 @@ implementation
               MessagePos(result.fileinfo, parser_e_class_methods_only_static_in_records);
 
             // we can't add hidden params here because record is not yet defined
-            // and therefore record size which has influence on paramter passing rules may change too
+            // and therefore record size which has influence on parameter passing rules may change too
             // look at record_dec to see where calling conventions are applied (issue #0021044)
             handle_calling_convention(result,hcc_default_actions_intf_struct);
 

+ 1 - 1
compiler/pexpr.pas

@@ -4904,7 +4904,7 @@ implementation
          if not assigned(p1.resultdef) and
             dotypecheck then
           do_typecheckpass(p1);
-         { transfer generic paramter flag }
+         { transfer generic parameter flag }
          if nf_generic_para in oldflags then
            include(p1.flags,nf_generic_para);
          afterassignment:=oldafterassignment;

+ 1 - 1
compiler/x86_64/hlcgcpu.pas

@@ -82,7 +82,7 @@ implementation
         begin
           if (procdef.extnumber=$ffff) then
             Internalerror(2000061301);
-          { load vmt from first paramter }
+          { load vmt from first parameter }
           { win64 uses a different abi }
           if x86_64_use_ms_abi(procdef.proccalloption) then
             reference_reset_base(href,voidpointertype,NR_RCX,0,ctempposinvalid,sizeof(pint),[])