diff options
author | gchare <gchare@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-15 20:35:58 +0000 |
---|---|---|
committer | gchare <gchare@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-15 20:35:58 +0000 |
commit | 80ea6373487e87586f483fdb01c974f6757823dc (patch) | |
tree | f0b82291b2916fbc64b32cd6b2aa4f506273a69f /libcpp/directives-only.c | |
parent | 76fa5db42b73113f48deff732815af6637379661 (diff) | |
download | gcc-80ea6373487e87586f483fdb01c974f6757823dc.tar.gz |
LINEMAP_POSITION_FOR_COLUMN had the exact same effect as
linemap_position_for_column, removed it and updated users
to use linemap_position_for_column instead
libcpp/ChangeLog
* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Remove.
Update all users to use linemap_position_for_column instead.
gcc/go/ChangeLog
* gofrontend/lex.cc (Lex::location): Update to use
linemap_position_for_column instead.
(Lex::earlier_location): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/directives-only.c')
-rw-r--r-- | libcpp/directives-only.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/directives-only.c b/libcpp/directives-only.c index e19f8069614..c6772afb83d 100644 --- a/libcpp/directives-only.c +++ b/libcpp/directives-only.c @@ -142,7 +142,7 @@ _cpp_preprocess_dir_only (cpp_reader *pfile, flags |= DO_LINE_COMMENT; else if (!(flags & DO_SPECIAL)) /* Mark the position for possible error reporting. */ - LINEMAP_POSITION_FOR_COLUMN (loc, pfile->line_table, col); + loc = linemap_position_for_column (pfile->line_table, col); break; |