aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libcpp/include/line-map.h2
-rw-r--r--libcpp/lex.c2
-rw-r--r--libcpp/pch.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 95200da..63cd5a5 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/line-map.h (LINEMAPS_MACRO_MAPS): Fix typo in comment.
+ * lex.c (search_line_fast): Likewise.
+ * pch.h (cpp_valid_state): Likewise.
+
2017-03-21 Andreas Schwab <schwab@suse.de>
* lex.c (search_line_fast) [__ARM_NEON && __ARM_64BIT_STATE]:
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h
index ec56de3..522e8bb 100644
--- a/libcpp/include/line-map.h
+++ b/libcpp/include/line-map.h
@@ -908,7 +908,7 @@ LINEMAPS_LAST_ALLOCATED_ORDINARY_MAP (const line_maps *set)
}
/* Returns a pointer to the beginning of the region where macro maps
- are allcoated. */
+ are allocated. */
inline line_map_macro *
LINEMAPS_MACRO_MAPS (const line_maps *set)
{
diff --git a/libcpp/lex.c b/libcpp/lex.c
index a431ac8..9edd2a6 100644
--- a/libcpp/lex.c
+++ b/libcpp/lex.c
@@ -912,7 +912,7 @@ search_line_fast (const uchar *s, const uchar *end ATTRIBUTE_UNUSED)
#else
-/* We only have one accellerated alternative. Use a direct call so that
+/* We only have one accelerated alternative. Use a direct call so that
we encourage inlining. */
#define search_line_fast search_line_acc_char
diff --git a/libcpp/pch.c b/libcpp/pch.c
index f65346f..cad4b87 100644
--- a/libcpp/pch.c
+++ b/libcpp/pch.c
@@ -630,7 +630,7 @@ cpp_valid_state (cpp_reader *r, const char *name, int fd)
attempting to use it without -g. Restoring the PCH file
is supposed to bring in this definition *and* enable the
generation of call frame information, so that precompiled
- definitions that take this macro into accout, to decide
+ definitions that take this macro into account, to decide
what asm to emit, won't issue .cfi directives when the
compiler doesn't. */
if (!(h->flags & NODE_USED)