diff options
author | Nico Weber <nicolasweber@gmx.de> | 2011-11-16 05:38:21 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2011-11-16 05:42:34 (GMT) |
commit | f72a4137f5a9b3ee4001d60888612b22a6a63020 (patch) | |
tree | 7901b64ddb1a4def692eb6c151e357367443a720 /src/edit_distance.h | |
parent | d838f8ed07d5cc2550a8b083ad7e866de49fe45d (diff) | |
download | Ninja-f72a4137f5a9b3ee4001d60888612b22a6a63020.zip Ninja-f72a4137f5a9b3ee4001d60888612b22a6a63020.tar.gz Ninja-f72a4137f5a9b3ee4001d60888612b22a6a63020.tar.bz2 |
Add spelling suggestions for four cases:
1. For targets, when invoking ninja to build a target.
2. For targets, when doing a "query" command.
3. For command names.
4. For the subcommands of the "targets" command.
Also change CmdTargets() to call LookupNode() instead of GetNode() --
since the result was checked for NULL, that's probably what was intended
here originally.
Diffstat (limited to 'src/edit_distance.h')
-rw-r--r-- | src/edit_distance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit_distance.h b/src/edit_distance.h index 186a0d7..45ae4ae 100644 --- a/src/edit_distance.h +++ b/src/edit_distance.h @@ -15,7 +15,7 @@ #ifndef NINJA_EDIT_DISTANCE_H_ #define NINJA_EDIT_DISTANCE_H_ -struct StringPiece; +#include "string_piece.h" int EditDistance(const StringPiece& s1, const StringPiece& s2, |