summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2020-07-05 13:57:33 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2020-07-07 11:00:22 (GMT)
commit6c5e886aacd98766fe43539c2c8ae7f3ca2af2aa (patch)
tree65675f90debdf1a963c91bfa871d7f723f1e19cc /src
parent48a9fb5d0de6f7bb850863d122ba736b62546746 (diff)
downloadNinja-6c5e886aacd98766fe43539c2c8ae7f3ca2af2aa.zip
Ninja-6c5e886aacd98766fe43539c2c8ae7f3ca2af2aa.tar.gz
Ninja-6c5e886aacd98766fe43539c2c8ae7f3ca2af2aa.tar.bz2
Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/build.cc2
-rw-r--r--src/ninja.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/build.cc b/src/build.cc
index a16593b..db28e65 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -183,7 +183,7 @@ void BuildStatus::BuildLoadDyndeps() {
// it considers a portion of the graph to be out of date. Normally
// this is done before the build starts, but our caller is about to
// load a dyndep file during the build. Doing so may generate more
- // exlanation lines (via fprintf directly to stderr), but in an
+ // explanation lines (via fprintf directly to stderr), but in an
// interactive console the cursor is currently at the end of a status
// line. Start a new line so that the first explanation does not
// append to the status line. After the explanations are done a
diff --git a/src/ninja.cc b/src/ninja.cc
index 1429639..00e3a5c 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -91,7 +91,7 @@ struct NinjaMain : public BuildLogUser {
/// Loaded state (rules, nodes).
State state_;
- /// Functions for accesssing the disk.
+ /// Functions for accessing the disk.
RealDiskInterface disk_interface_;
/// The build directory, used for storing the build log etc.
@@ -1050,7 +1050,7 @@ bool DebugEnable(const string& name) {
}
}
-/// Set a warning flag. Returns false if Ninja should exit instead of
+/// Set a warning flag. Returns false if Ninja should exit instead of
/// continuing.
bool WarningEnable(const string& name, Options* options) {
if (name == "list") {