aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-03-09 15:22:17 -0800
committerJosh Triplett <josh@freedesktop.org>2007-03-09 15:32:55 -0800
commitcef10da343e842f6b55f5a26d55aaec5b55bd184 (patch)
tree2a55ea9107c0cd8034a55684961a9bf455fe31a4 /pre-process.c
parentIntroduce keyword driven attribute parsing (diff)
downloadsparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.gz
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.bz2
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.zip
Fix typos in comments
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'pre-process.c')
-rw-r--r--pre-process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pre-process.c b/pre-process.c
index 2936fca..44be783 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -643,7 +643,7 @@ static int already_tokenized(const char *path)
* angle_includepath: Path to search when using #include <file.h>
* sys_includepath: Built-in include paths
*
- * The above is implmented as one array with pointes
+ * The above is implemented as one array with pointers
* +--------------+
* quote_includepath ---> | |
* +--------------+
@@ -734,7 +734,7 @@ static void do_include(int local, struct stream *stream, struct token **list, st
goto out;
}
- /* Dir of inputfile is first dir to search for quoted includes */
+ /* Dir of input file is first dir to search for quoted includes */
set_stream_include_path(stream);
if (!path)
@@ -1549,7 +1549,7 @@ static int handle_split_include(struct stream *stream, struct token **line, stru
*
* We'll just #define that away for now, but the theory here
* is that we can use this to insert arbitrary token sequences
- * to turn the pragma's into internal front-end sequences for
+ * to turn the pragmas into internal front-end sequences for
* when we actually start caring about them.
*
* So eventually this will turn into some kind of extended
@@ -1736,7 +1736,7 @@ struct token * preprocess(struct token *token)
init_preprocessor();
do_preprocess(&token);
- // Drop all expressions from pre-processing, they're not used any more.
+ // Drop all expressions from preprocessing, they're not used any more.
// This is not true when we have multiple files, though ;/
// clear_expression_alloc();
preprocessing = 0;