diff options
Diffstat (limited to 'src/depfile_parser.h')
-rw-r--r-- | src/depfile_parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/depfile_parser.h b/src/depfile_parser.h index 08bf68a..c900956 100644 --- a/src/depfile_parser.h +++ b/src/depfile_parser.h @@ -20,8 +20,9 @@ using namespace std; /// Parser for the dependency information emitted by gcc's -M flags. struct DepfileParser { - /// Parse an input file. Warning: may mutate the content in-place - /// and parsed StringPieces are pointers within it. + /// Parse an input file. Input must be NUL-terminated. + /// Warning: may mutate the content in-place and parsed StringPieces are + /// pointers within it. bool Parse(string* content, string* err); StringPiece out_; |