diff options
author | Tom Tromey <tromey@redhat.com> | 2008-02-20 02:16:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2008-02-20 02:16:43 +0000 |
commit | 2bf41bf05df81d26e70bca9642c065cd90b49be7 (patch) | |
tree | a0f5aee41aeac0578015bd28b69be97666cfa9bc /libcpp/include | |
parent | 18ca3965e9f2a024baca017763ddfa4342ef499d (diff) | |
download | gcc-2bf41bf05df81d26e70bca9642c065cd90b49be7.zip gcc-2bf41bf05df81d26e70bca9642c065cd90b49be7.tar.gz gcc-2bf41bf05df81d26e70bca9642c065cd90b49be7.tar.bz2 |
traditional.c (lex_identifier): Use CPP_HASHNODE.
* traditional.c (lex_identifier): Use CPP_HASHNODE.
* lex.c (lex_identifier): Use CPP_HASHNODE.
* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in
do-while.
* identifiers.c (alloc_node): Change return type.
(_cpp_init_hashtable): Don't cast 'alloc_node'.
(proxy_assertion_broken): New declaration.
(cpp_forall_identifiers): Move comment.
* line-map.c (linemap_add): Comment fix.
(linemap_line_start): Indentation fix.
From-SVN: r132467
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/line-map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index cddc74d..3378315 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -172,7 +172,7 @@ extern void linemap_print_containing_files (struct line_maps *, /* Set LOC to a source position that is the same line as the most recent linemap_line_start, but with the specified TO_COLUMN column number. */ -#define LINEMAP_POSITION_FOR_COLUMN(LOC, SET, TO_COLUMN) { \ +#define LINEMAP_POSITION_FOR_COLUMN(LOC, SET, TO_COLUMN) do { \ unsigned int to_column = (TO_COLUMN); \ struct line_maps *set = (SET); \ if (__builtin_expect (to_column >= set->max_column_hint, 0)) \ @@ -183,7 +183,7 @@ extern void linemap_print_containing_files (struct line_maps *, if (r >= set->highest_location) \ set->highest_location = r; \ (LOC) = r; \ - }} + }} while (0) extern source_location |