aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-29 15:53:50 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2012-05-29 15:53:50 +0100
commit7d9641ccfa24bbfed5cf7f03eae558439817bb6e (patch)
treeac515777ea7bd3841b8b1fea55c7a964a850e6de /libcpp/include
parent9474e8ab4a4f8b22a4411a0688cea4c870378425 (diff)
downloadgcc-7d9641ccfa24bbfed5cf7f03eae558439817bb6e.zip
gcc-7d9641ccfa24bbfed5cf7f03eae558439817bb6e.tar.gz
gcc-7d9641ccfa24bbfed5cf7f03eae558439817bb6e.tar.bz2
directives.c: Fix typos.
* directives.c: Fix typos. * include/line-map.h: Fix typos. * line-map.c: Fix typos. * macro.c: Fix typos. From-SVN: r187966
Diffstat (limited to 'libcpp/include')
-rw-r--r--libcpp/include/line-map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h
index 1c81fc5..fe1a18e 100644
--- a/libcpp/include/line-map.h
+++ b/libcpp/include/line-map.h
@@ -159,7 +159,7 @@ struct GTY(()) line_map_macro {
Note that a virtual location is a location returned by
linemap_add_macro_token. It encodes the relevant locations (x,y
- pairs) of that token accross the macro expansions from which it
+ pairs) of that token across the macro expansions from which it
(the token) might come from.
In the example above x1 (for token "+") is going to be the same
@@ -370,7 +370,7 @@ struct GTY(()) line_maps {
#define LINEMAPS_LAST_ALLOCATED_ORDINARY_MAP(SET) \
LINEMAPS_LAST_ALLOCATED_MAP(SET, false)
-/* Returns a pointer to the begining of the region where macro maps
+/* Returns a pointer to the beginning of the region where macro maps
are allcoated. */
#define LINEMAPS_MACRO_MAPS(SET) \
LINEMAPS_MAPS(SET, true)
@@ -450,7 +450,7 @@ extern const struct line_map *linemap_add
extern const struct line_map *linemap_lookup
(struct line_maps *, source_location);
-/* Returns TRUE if the line table set tracks token locations accross
+/* Returns TRUE if the line table set tracks token locations across
macro expansion, FALSE otherwise. */
bool linemap_tracks_macro_expansion_locs_p (struct line_maps *);