浏览代码

Misc. comment typos

Found via `codespell`
luz.paz 6 年之前
父节点
当前提交
8adf237e52
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Help/command/macro.rst
  2. 1 1
      Source/cmExtraEclipseCDT4Generator.cxx

+ 1 - 1
Help/command/macro.rst

@@ -83,7 +83,7 @@ with a macro.  This has a number of consequences, as explained in
 the :ref:`Argument Caveats` section below.
 the :ref:`Argument Caveats` section below.
 
 
 Another difference between macros and functions is the control flow.
 Another difference between macros and functions is the control flow.
-A function is executed by transfering control from the calling
+A function is executed by transferring control from the calling
 statement to the function body.  A macro is executed as if the macro
 statement to the function body.  A macro is executed as if the macro
 body were pasted in place of the calling statement.  This has the
 body were pasted in place of the calling statement.  This has the
 consequence that a :command:`return()` in a macro body does not
 consequence that a :command:`return()` in a macro body does not

+ 1 - 1
Source/cmExtraEclipseCDT4Generator.cxx

@@ -714,7 +714,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
     xml.Attribute("path", p);
     xml.Attribute("path", p);
     xml.EndElement();
     xml.EndElement();
 
 
-    // exlude source directory from output search path
+    // exclude source directory from output search path
     // - only if not named the same as an output directory
     // - only if not named the same as an output directory
     if (!cmSystemTools::FileIsDirectory(
     if (!cmSystemTools::FileIsDirectory(
           std::string(this->HomeOutputDirectory + "/" + p))) {
           std::string(this->HomeOutputDirectory + "/" + p))) {