From 8adf237e52bea9aabc0f5d4ac8884ef9d2349d0f Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Wed, 5 Dec 2018 11:57:58 -0500 Subject: Misc. comment typos Found via `codespell` --- Help/command/macro.rst | 2 +- Source/cmExtraEclipseCDT4Generator.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Help/command/macro.rst b/Help/command/macro.rst index 464940f..05e5d79 100644 --- a/Help/command/macro.rst +++ b/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. 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 body were pasted in place of the calling statement. This has the consequence that a :command:`return()` in a macro body does not diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 8e25e9c..adb14ec 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -714,7 +714,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const xml.Attribute("path", p); 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 if (!cmSystemTools::FileIsDirectory( std::string(this->HomeOutputDirectory + "/" + p))) { -- cgit v0.12